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)
Click to show internal directories.
Click to hide internal directories.