grpc

package
v0.1.5-dev Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 26 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, kc keychain.Keychain, 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
auth
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