grpc

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 16 Imported by: 0

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 WithPort

func WithPort(port int) ServerOption

Helper function for setting port

func WithProxyPort added in v0.0.6

func WithProxyPort(port int) ServerOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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