Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageBase ¶
type MessageBase struct { MessageType uint8 // contains filtered or unexported fields }
func (*MessageBase) Cbor ¶
func (m *MessageBase) Cbor() []byte
func (*MessageBase) SetCbor ¶
func (m *MessageBase) SetCbor(data []byte)
func (*MessageBase) Type ¶
func (m *MessageBase) Type() uint8
type MessageHandlerFunc ¶
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func New ¶
func New(name string, protocolId uint16, m *muxer.Muxer, errorChan chan error, handlerFunc MessageHandlerFunc, msgFromCborFunc MessageFromCborFunc) *Protocol
func (*Protocol) SendMessage ¶
func (*Protocol) UnlockState ¶ added in v0.5.1
Click to show internal directories.
Click to hide internal directories.