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