Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCClient ¶
type GRPCClient struct { Client serverpb.ServerClient // contains filtered or unexported fields }
func NewGRPCClient ¶
func NewGRPCClient() (*GRPCClient, error)
func NewGRPCClientWithConfig ¶
func NewGRPCClientWithConfig(conf *GRPCConfig) (*GRPCClient, error)
func (*GRPCClient) Close ¶
func (g *GRPCClient) Close()
type GRPCConfig ¶
type GRPCConfig struct {
CaptenServerAddress string `envconfig:"CAPTEN_SERVER_ADDRESS" required:"true"`
}
func NewGRPCConfig ¶
func NewGRPCConfig() (*GRPCConfig, error)
Click to show internal directories.
Click to hide internal directories.