grpc

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultGrpcPort = 9999
)

Variables

This section is empty.

Functions

func New

func New(sv space.Service, 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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