Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UdpWithUdp ¶
func UdpWithUdp(opts ...UDPOption) register.RegisterOption
Types ¶
type UDPOption ¶
type UDPOption func(*UdpServer)
func ConsoleWriter ¶
func ConsoleWriter() UDPOption
type UdpServer ¶
type UdpServer struct { Addr string `toml:"addr" json:"addr"` BroadcastChan int `toml:"broadcast_chan" json:"broadcast_chan"` MaxMessageSize int `toml:"max_message_size" json:"max_message_size"` // contains filtered or unexported fields }
func (*UdpServer) AppendWriter ¶
type WriterToConsole ¶
type WriterToConsole struct{}
func (WriterToConsole) Writer ¶
func (WriterToConsole) Writer(msg []byte) error
Click to show internal directories.
Click to hide internal directories.