Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface {
Send(m MessageBuilder)
}
Collector represent interface to Json2Sandesh proxy
type Message ¶
type Message struct { SandeshType string `json:"sandesh_type"` Payload interface{} `json:"payload"` }
Message represents a message to Json2Sandesh proxy
type MessageBuilder ¶
type MessageBuilder interface {
Build() *Message
}
MessageBuilder is interface to build the message
func NewEmptyMessageBuilder ¶
func NewEmptyMessageBuilder() MessageBuilder
NewEmptyMessageBuilder returns nil message builder
Click to show internal directories.
Click to hide internal directories.