Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { TLSCertHash []byte *comm.GRPCClient }
Client deals with TLS connections to the discovery server
func NewClient ¶
NewClient creates a new comm client out of the given configuration
type Config ¶
Config defines configuration of a Client
func (Config) ToSecureOptions ¶
func (conf Config) ToSecureOptions(newSelfSignedTLSCert genTLSCertFunc) (*comm.SecureOptions, error)
ToSecureOptions converts this Config to SecureOptions. The given function generates a self signed client TLS certificate if the TLS certificate and key aren't present at the config
Click to show internal directories.
Click to hide internal directories.