Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, handler DataHandler)
Types ¶
type ConfigExt ¶
type ConfigExt struct { nscatools.Config PacketHandler DataHandler }
func NewConfigExt ¶
type DataHandler ¶
type DataHandler func(*DataPacketExt) error
func AdaptHandler ¶
func AdaptHandler(h func([]byte) error) DataHandler
type DataPacketExt ¶
type DataPacketExt struct {
nscatools.DataPacket
}
Click to show internal directories.
Click to hide internal directories.