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 ¶
func (*UnimplementedDistributorServer) Push(ctx context.Context, req *mimirpb.WriteRequest) (*mimirpb.WriteResponse, error)
Click to show internal directories.
Click to hide internal directories.