server

package
v0.0.0-...-45d551c Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Host           = "0.0.0.0"
	Port           = 27320
	Endpoints      = []string{}
	RevokeEtcdConn func() error
	Key            = "grpclb/service/database"
)

Functions

func ShutdownGRPC

func ShutdownGRPC() error

func StartupGRPC

func StartupGRPC() error

Types

type GRPC

type GRPC struct {
	pb.UnimplementedDatasourceServer
}

func (*GRPC) PullData

func (g *GRPC) PullData(req *wrapperspb.StringValue, resp pb.Datasource_PullDataServer) 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