Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) WriteComment ¶
WriteComment encodes a comment. These are ignored by the decoder.
func (*Encoder) WriteEvent ¶
func (e *Encoder) WriteEvent(event base.MessageEventGetter) (int, error)
WriteEvent encodes a full event.
func (*Encoder) WriteRetry ¶
WriteRetry encodes the retry field.
Click to show internal directories.
Click to hide internal directories.