Documentation ¶
Overview ¶
Package client implements the Katzenpost voting authority client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶ added in v0.0.7
type Client struct {
// contains filtered or unexported fields
}
Client is a PKI client.
func (*Client) Deserialize ¶ added in v0.0.7
Deserialize returns PKI document given the raw bytes.
type Config ¶
type Config struct { // LogBackend is the `core/log` Backend instance to use for logging. LogBackend *log.Backend // Authorities is the set of Directory Authority servers. Authorities []*config.AuthorityPeer // DialContextFn is the optional alternative Dialer.DialContext function // to be used when creating outgoing network connections. DialContextFn func(ctx context.Context, network, address string) (net.Conn, error) }
Config is a voting authority pki.Client instance.
Click to show internal directories.
Click to hide internal directories.