Documentation ¶
Overview ¶
Package endpoint declares an interface. Create a type satisfying it to support a new gateway or log file format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint interface { Run(ctx context.Context) error Close() error SetOutput(MessageHandler) }
Endpoint declares the interface for endpoints.
type MessageHandler ¶ added in v0.0.2
MessageHandler is an interface for the handler of an Endpoint that takes a finished Message object
Directories ¶
Path | Synopsis |
---|---|
Package n2kfileendpoint provides reads n2k log files and sends canbus frames to a channel.
|
Package n2kfileendpoint provides reads n2k log files and sends canbus frames to a channel. |
Package socketcanendpoint contains the SocketCANEndpoint struct described below
|
Package socketcanendpoint contains the SocketCANEndpoint struct described below |
Package usbcanendpoint contains the USBCANEndpoint struct described below
|
Package usbcanendpoint contains the USBCANEndpoint struct described below |
Click to show internal directories.
Click to hide internal directories.