Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultGrpcPort = 9999
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(sv space.Service, opts ...ServerOption) *grpcServer
gRPC server uses Service from core to handle requests
Types ¶
type ServerOption ¶
type ServerOption func(o *serverOptions)
Click to show internal directories.
Click to hide internal directories.