Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { PubKey string `toml:"client_public_key"` PrivKey string `toml:"client_private_key"` ServerPubKey string `toml:"server_public_key"` ServerIP string `toml:"server_ip"` }
ClientConfig maps our config for a pure grpc client.
type CoChairClient ¶
type CoChairClient struct {
// contains filtered or unexported fields
}
CoChairClient is a wrapper around our generated gRPC server.ProxyClient interface.
func NewCoChairClient ¶
func NewCoChairClient(conf ClientConfig) (*CoChairClient, error)
NewCoChairClient returns a CoChairClient
func (*CoChairClient) State ¶
func (c *CoChairClient) State(domain string) error
State reports on the state of the proxy.
Click to show internal directories.
Click to hide internal directories.