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 *cortexpb.WriteRequest, opts ...grpc.CallOption) (*cortexpb.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, *cortexpb.WriteRequest) (*cortexpb.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 *cortexpb.WriteRequest) (*cortexpb.WriteResponse, error)
Click to show internal directories.
Click to hide internal directories.