Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(c Components, o Options) (err error)
Start constructs and launches a new udp adapter
Types ¶
type Components ¶
type Components struct { Ctx log.Interface Router core.RouterServer }
Components defines a structure to make the instantiation easier to read
type Options ¶
type Options struct { // NetAddr refers to the udp address + port the adapter will have to listen NetAddr string // MaxReconnectionDelay defines the delay of the longest attempt to reconnect a lost connection // before giving up. MaxReconnectionDelay time.Duration }
Options defines a structure to make the instantiation easier to read
Click to show internal directories.
Click to hide internal directories.