distributorpb

package
v0.0.0-...-457fe6c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDistributorServer

func RegisterDistributorServer(s *grpc.Server, srv DistributorServer)

Types

type DistributorClient

type DistributorClient interface {
	Push(ctx context.Context, in *mimirpb.WriteRequest, opts ...grpc.CallOption) (*mimirpb.WriteResponse, error)
}

DistributorClient is the client API for Distributor service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDistributorClient

func NewDistributorClient(cc *grpc.ClientConn) DistributorClient

type DistributorServer

type DistributorServer interface {
	Push(context.Context, *mimirpb.WriteRequest) (*mimirpb.WriteResponse, error)
}

DistributorServer is the server API for Distributor service.

type UnimplementedDistributorServer

type UnimplementedDistributorServer struct {
}

UnimplementedDistributorServer can be embedded to have forward compatible implementations.

func (*UnimplementedDistributorServer) Push

Jump to

Keyboard shortcuts

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