Documentation
¶
Index ¶
Constants ¶
View Source
const ( // IDSubMsg is the ID of SubMsg message. IDSubMsg uint64 = iota + 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaller ¶ added in v0.7.5
type Marshaller struct {
// contains filtered or unexported fields
}
Marshaller marshals and unmarshals messages.
func NewMarshaller ¶ added in v0.7.5
func NewMarshaller(capacity uint64) Marshaller
NewMarshaller creates marshaller.
func (Marshaller) Marshal ¶ added in v0.7.5
func (m Marshaller) Marshal(msg proton.Marshallable, buf []byte) (retID, retSize uint64, retErr error)
Marshal marshals message.
Click to show internal directories.
Click to hide internal directories.