Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRpcServerComponent ¶
type GRpcServerComponent struct { component.Component camTls.TlsPlugin // contains filtered or unexported fields }
func (*GRpcServerComponent) Init ¶
func (comp *GRpcServerComponent) Init(confI camStatics.ComponentConfigInterface)
init conf
type GRpcServerComponentConfig ¶
type GRpcServerComponentConfig struct { component.ComponentConfig camTls.TlsPluginConfig Option }
func NewGRpcServer ¶
func NewGRpcServer() *GRpcServerComponentConfig
func (*GRpcServerComponentConfig) Register ¶
func (conf *GRpcServerComponentConfig) Register(service interface{}, regHandler interface{})
type Option ¶
type Option struct { Port uint16 DialOptions []grpc.ServerOption // contains filtered or unexported fields }
type ServiceOption ¶
type ServiceOption struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.