mirror of
https://github.com/rwinkhart/sys.git
synced 2026-08-28 04:46:44 -04:00
unix: add godoc for Sockaddr* types
Add rudimentary godoc for all existing Sockaddr* types implementing the Sockaddr interface. Change-Id: Ida7d1e8756477b54fc773f4bc978002c3d4a376d Reviewed-on: https://go-review.googlesource.com/89775 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Tobias Klauser
parent
90f0fdc418
commit
0346725895
@@ -17,6 +17,7 @@ import (
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
// SockaddrDatalink implements the Sockaddr interface for AF_LINK type sockets.
|
||||
type SockaddrDatalink struct {
|
||||
Len uint8
|
||||
Family uint8
|
||||
|
||||
Reference in New Issue
Block a user