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