Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { PersistPath string CoordinatorLatency time.Duration // Eventually we will measure this. ConfigClient *config.Client Handler ConvoHandler // contains filtered or unexported fields }
func LoadClient ¶
LoadClient loads a client from persisted state at the given path. You should set the client's KeywheelPersistPath before connecting.
func (*Client) Bootstrap ¶
func (c *Client) Bootstrap(startingConvoConfig *config.SignedConfig) error
func (*Client) CloseConvo ¶
func (*Client) ConnectConvo ¶
func (*Client) LatestRound ¶
type ConvoHandler ¶
type ConvoHandler interface { Outgoing(round uint32) []*convo.DeadDropMessage Replies(round uint32, messages [][]byte) NewConfig(chain []*config.SignedConfig) Error(err error) DebugError(err error) GlobalAnnouncement(message string) }
Click to show internal directories.
Click to hide internal directories.