Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() Manager
func (*Manager) RegisterAgent ¶
func (*Manager) SendMessage ¶
type Message ¶
type Message struct { FromAddr string ToAddr string Message string Type MessageType Data map[string]interface{} }
func GetMessage ¶
type MessageHandler ¶
type MessageHandler light.EventHandler
type MessageType ¶
type MessageType int
const ( Request MessageType = iota Response CTF Propose AcceptProposal )
Click to show internal directories.
Click to hide internal directories.