Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { ConnectionID int `json:"connection_id,omitempty"` GroupID int `json:"connection_group_id,omitempty"` RouteStatus []*Entry `json:"statuses"` }
func NewConnection ¶
func NewConnection(conID, grID int, entries ...*Entry) *Connection
type Entry ¶
type Message ¶
type Message struct { common.MessageHeader Data []*Connection `json:"data"` }
func (*Message) Add ¶
func (msg *Message) Add(connections ...*Connection)
Adds new connections to array. Performs smart merge, if connections have same IDs
Click to show internal directories.
Click to hide internal directories.