server

package
v0.0.0-...-eabca8b Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Host = "0.0.0.0"
	Port = 49091
)

Functions

func ShutdownGRPC

func ShutdownGRPC() error

func StartupGRPC

func StartupGRPC() error

Types

type GRPC

type GRPC struct {
	pb.UnimplementedBrainServer
}

func (*GRPC) Find

func (g *GRPC) Find(_ *emptypb.Empty, fs pb.Brain_FindServer) error

func (*GRPC) Version

func (g *GRPC) Version(ctx context.Context, _ *emptypb.Empty) (*wrapperspb.StringValue, error)

Jump to

Keyboard shortcuts

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