Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPeerGone = fmt.Errorf("peer was disconnected from messaging channel") ErrRPCTimeout = fmt.Errorf("rpc call timeout") )
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func (*Channel) Announce ¶
func (c *Channel) Announce(t MessageType, b []byte)
func (*Channel) HandleRequest ¶
type Message ¶
type Message struct { Type MessageType From uint64 Data []byte }
func (*Message) MarshalBinary ¶ added in v0.5.1
func (*Message) UnmarshalBinary ¶ added in v0.5.1
type MessageType ¶
type MessageType int
const ( MessageUnknown MessageType = iota MessageACMEAccountKey MessageClientCerts MessageTest )
Click to show internal directories.
Click to hide internal directories.