Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCClientOption ¶
type GRPCClientOption struct { ClientCert string `json:"client_cert"` ServerAddress string `json:"server_address"` }
func NewGRPCClientOption ¶
func NewGRPCClientOption() *GRPCClientOption
func (*GRPCClientOption) AddFlags ¶
func (g *GRPCClientOption) AddFlags()
func (*GRPCClientOption) Validate ¶
func (g *GRPCClientOption) Validate() []error
type GRPCServerOption ¶
type GRPCServerOption struct { BindAddress string `json:"bind_address"` BindPort int `json:"bind_port"` MaxMsgSize int `json:"max_msg_size"` }
func NewGRPCOption ¶
func NewGRPCOption() *GRPCServerOption
func (*GRPCServerOption) AddFlags ¶
func (g *GRPCServerOption) AddFlags()
func (*GRPCServerOption) Validate ¶
func (g *GRPCServerOption) Validate() []error
Click to show internal directories.
Click to hide internal directories.