Versions in this module Expand all Collapse all v0 v0.4.0 Dec 9, 2019 Changes in this version + type Client interface + ReadInNetworkFromTopology func(pkiName string) error + SendMessage func(message []byte, recipient config.ClientConfig) error + Start func() error + type NetClient struct + func NewClient(cfg *clientConfig.Config) (*NetClient, error) + func NewTestClient(cfg *clientConfig.Config, prvKey *sphinx.PrivateKey, pubKey *sphinx.PublicKey) (*NetClient, error) + func (c *NetClient) GetAllPossibleRecipients() []*config.ClientConfig + func (c *NetClient) GetOwnDetails() *config.ClientConfig + func (c *NetClient) GetReceivedMessages() [][]byte + func (c *NetClient) OutQueue() chan<- []byte + func (c *NetClient) ReadInNetworkFromTopology(topologyData *models.Topology) error + func (c *NetClient) SendMessage(message []byte, recipient config.ClientConfig) error + func (c *NetClient) Shutdown() + func (c *NetClient) Start() error + func (c *NetClient) UpdateNetworkView() error + func (c *NetClient) Wait() + type ReceivedMessages struct