Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrorUnknown is returned by NewFramer when an unsupported type is requested ErrorUnknown = errors.New("Framer type is not supported") )
Functions ¶
func NewFramer ¶
func NewFramer(framerType string, port io.ReadWriter, options *framerinterface.FramerOptions) (framerinterface.Framer, error)
NewFramer creates a framer with the specified type and options. You need to pass the io.ReadWriter that will be used to transfer data. Current supported types are: HDLC
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.