Documentation ¶ Index ¶ type Entry func NewEntry(prevID, connID, grID int) *Entry type Message func NewMessage() *Message func (msg *Message) Add(entries ...*Entry) func (msg *Message) Send(writer io.Writer) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Entry ¶ type Entry struct { PreviousConnID int `json:"prev_connection_id"` ConnectionID int `json:"connection_id"` GroupID int `json:"connection_group_id"` Timestamp string `json:"timestamp"` Reason string `json:"route_change_reason,omitempty"` } func NewEntry ¶ func NewEntry(prevID, connID, grID int) *Entry type Message ¶ type Message struct { common.MessageHeader Data []*Entry `json:"data"` } func NewMessage ¶ func NewMessage() *Message func (*Message) Add ¶ func (msg *Message) Add(entries ...*Entry) func (*Message) Send ¶ func (msg *Message) Send(writer io.Writer) error Source Files ¶ View all Source files entry.go message.go Click to show internal directories. Click to hide internal directories.