camGRpcServer

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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

init conf

func (*GRpcServerComponent) Start

func (comp *GRpcServerComponent) Start()

start

func (*GRpcServerComponent) Stop

func (comp *GRpcServerComponent) Stop()

stop

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL