Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface { Type() OptionType Value() interface{} }
func BindSocket ¶
BindSocket covers the case in which the user wants to bind the socket to a specific address when Dialing a remote endpoint.
func DelOption ¶
func DelOption(del OptionType, opts []Option) []Option
func Nonblocking ¶
type OptionType ¶
type OptionType uint8
const ( TypeNonblocking OptionType = iota TypeReusePort TypeReuseAddr TypeNoDelay TypeBindSocket TypeMulticast MaxOption )
func (OptionType) String ¶
func (t OptionType) String() string
Click to show internal directories.
Click to hide internal directories.