grpc

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 22 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

func WithProxyPort(port int) ServerOption

func WithRestProxyPort

func WithRestProxyPort(port int) ServerOption

WithRestProxyPort configures the REST Proxy port

Directories

Path Synopsis
Package pb is a reverse proxy.
Package pb is a reverse proxy.

Jump to

Keyboard shortcuts

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