Discover Packages
github.com/laconiz/eros
oceanus
proto
package
Version:
v0.0.0-...-9c04300
Opens a new window with list of versions in this module.
Published: Apr 29, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Headers map[string ]interface{}
type Mail struct {
ID MailID `json:"id"`
From []*Node `json:"from,omitempty"`
Type NodeType `json:"type,omitempty"`
To []*Node `json:"to,omitempty"`
Reply RpcID `json:"reply,omitempty"`
Body []byte `json:"body"`
}
type Mesh struct {
ID MeshID `json:"id"`
Addr string `json:"addr"`
}
type MeshJoin struct {
Mesh *Mesh `json:"mesh"`
}
type MeshQuit struct {
ID MeshID `json:"id"`
}
type NodeJoin struct {
Nodes []*Node `json:"nodes,omitempty"`
State *State `json:"state,omitempty"`
}
type NodeQuit struct {
Nodes []*Node `json:"nodes,omitempty"`
State *State `json:"state,omitempty"`
}
const EmptyRpcID RpcID = ""
type State struct {
Version Version `json:"version"`
Credit int64 `json:"credit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.