Documentation ¶
Index ¶
- Variables
- func RegisterFrontendForQuerierServer(s *grpc.Server, srv FrontendForQuerierServer)
- type FrontendForQuerierClient
- type FrontendForQuerierServer
- type QueryResultRequest
- func (*QueryResultRequest) Descriptor() ([]byte, []int)
- func (this *QueryResultRequest) Equal(that interface{}) bool
- func (m *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponsedeprecated
- func (m *QueryResultRequest) GetQueryID() uint64
- func (m *QueryResultRequest) GetQueryResponse() *queryrange.QueryResponse
- func (m *QueryResultRequest) GetResponse() isQueryResultRequest_Response
- func (m *QueryResultRequest) GetStats() *stats.Stats
- func (this *QueryResultRequest) GoString() string
- func (m *QueryResultRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryResultRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResultRequest) ProtoMessage()
- func (m *QueryResultRequest) Reset()
- func (m *QueryResultRequest) Size() (n int)
- func (this *QueryResultRequest) String() string
- func (m *QueryResultRequest) Unmarshal(dAtA []byte) error
- func (m *QueryResultRequest) XXX_DiscardUnknown()
- func (m *QueryResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResultRequest) XXX_Merge(src proto.Message)
- func (*QueryResultRequest) XXX_OneofWrappers() []interface{}
- func (m *QueryResultRequest) XXX_Size() int
- func (m *QueryResultRequest) XXX_Unmarshal(b []byte) error
- type QueryResultRequest_HttpResponse
- func (this *QueryResultRequest_HttpResponse) Equal(that interface{}) bool
- func (this *QueryResultRequest_HttpResponse) GoString() string
- func (m *QueryResultRequest_HttpResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResultRequest_HttpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *QueryResultRequest_HttpResponse) Size() (n int)
- func (this *QueryResultRequest_HttpResponse) String() string
- type QueryResultRequest_QueryResponse
- func (this *QueryResultRequest_QueryResponse) Equal(that interface{}) bool
- func (this *QueryResultRequest_QueryResponse) GoString() string
- func (m *QueryResultRequest_QueryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResultRequest_QueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *QueryResultRequest_QueryResponse) Size() (n int)
- func (this *QueryResultRequest_QueryResponse) String() string
- type QueryResultResponse
- func (*QueryResultResponse) Descriptor() ([]byte, []int)
- func (this *QueryResultResponse) Equal(that interface{}) bool
- func (this *QueryResultResponse) GoString() string
- func (m *QueryResultResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryResultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryResultResponse) ProtoMessage()
- func (m *QueryResultResponse) Reset()
- func (m *QueryResultResponse) Size() (n int)
- func (this *QueryResultResponse) String() string
- func (m *QueryResultResponse) Unmarshal(dAtA []byte) error
- func (m *QueryResultResponse) XXX_DiscardUnknown()
- func (m *QueryResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryResultResponse) XXX_Merge(src proto.Message)
- func (m *QueryResultResponse) XXX_Size() int
- func (m *QueryResultResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedFrontendForQuerierServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFrontend = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFrontend = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterFrontendForQuerierServer ¶
func RegisterFrontendForQuerierServer(s *grpc.Server, srv FrontendForQuerierServer)
Types ¶
type FrontendForQuerierClient ¶
type FrontendForQuerierClient interface {
QueryResult(ctx context.Context, in *QueryResultRequest, opts ...grpc.CallOption) (*QueryResultResponse, error)
}
FrontendForQuerierClient is the client API for FrontendForQuerier service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFrontendForQuerierClient ¶
func NewFrontendForQuerierClient(cc *grpc.ClientConn) FrontendForQuerierClient
type FrontendForQuerierServer ¶
type FrontendForQuerierServer interface {
QueryResult(context.Context, *QueryResultRequest) (*QueryResultResponse, error)
}
FrontendForQuerierServer is the server API for FrontendForQuerier service.
type QueryResultRequest ¶
type QueryResultRequest struct { QueryID uint64 `protobuf:"varint,1,opt,name=queryID,proto3" json:"queryID,omitempty"` // Types that are valid to be assigned to Response: // *QueryResultRequest_HttpResponse // *QueryResultRequest_QueryResponse Response isQueryResultRequest_Response `protobuf_oneof:"response"` Stats *stats.Stats `protobuf:"bytes,3,opt,name=stats,proto3" json:"stats,omitempty"` }
func (*QueryResultRequest) Descriptor ¶
func (*QueryResultRequest) Descriptor() ([]byte, []int)
func (*QueryResultRequest) Equal ¶
func (this *QueryResultRequest) Equal(that interface{}) bool
func (*QueryResultRequest) GetHttpResponse
deprecated
func (m *QueryResultRequest) GetHttpResponse() *httpgrpc.HTTPResponse
Deprecated: Do not use.
func (*QueryResultRequest) GetQueryID ¶
func (m *QueryResultRequest) GetQueryID() uint64
func (*QueryResultRequest) GetQueryResponse ¶
func (m *QueryResultRequest) GetQueryResponse() *queryrange.QueryResponse
func (*QueryResultRequest) GetResponse ¶
func (m *QueryResultRequest) GetResponse() isQueryResultRequest_Response
func (*QueryResultRequest) GetStats ¶
func (m *QueryResultRequest) GetStats() *stats.Stats
func (*QueryResultRequest) GoString ¶
func (this *QueryResultRequest) GoString() string
func (*QueryResultRequest) Marshal ¶
func (m *QueryResultRequest) Marshal() (dAtA []byte, err error)
func (*QueryResultRequest) MarshalTo ¶
func (m *QueryResultRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryResultRequest) MarshalToSizedBuffer ¶
func (m *QueryResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResultRequest) ProtoMessage ¶
func (*QueryResultRequest) ProtoMessage()
func (*QueryResultRequest) Reset ¶
func (m *QueryResultRequest) Reset()
func (*QueryResultRequest) Size ¶
func (m *QueryResultRequest) Size() (n int)
func (*QueryResultRequest) String ¶
func (this *QueryResultRequest) String() string
func (*QueryResultRequest) Unmarshal ¶
func (m *QueryResultRequest) Unmarshal(dAtA []byte) error
func (*QueryResultRequest) XXX_DiscardUnknown ¶
func (m *QueryResultRequest) XXX_DiscardUnknown()
func (*QueryResultRequest) XXX_Marshal ¶
func (m *QueryResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResultRequest) XXX_Merge ¶
func (m *QueryResultRequest) XXX_Merge(src proto.Message)
func (*QueryResultRequest) XXX_OneofWrappers ¶
func (*QueryResultRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*QueryResultRequest) XXX_Size ¶
func (m *QueryResultRequest) XXX_Size() int
func (*QueryResultRequest) XXX_Unmarshal ¶
func (m *QueryResultRequest) XXX_Unmarshal(b []byte) error
type QueryResultRequest_HttpResponse ¶
type QueryResultRequest_HttpResponse struct {
HttpResponse *httpgrpc.HTTPResponse `protobuf:"bytes,2,opt,name=httpResponse,proto3,oneof"`
}
func (*QueryResultRequest_HttpResponse) Equal ¶
func (this *QueryResultRequest_HttpResponse) Equal(that interface{}) bool
func (*QueryResultRequest_HttpResponse) GoString ¶
func (this *QueryResultRequest_HttpResponse) GoString() string
func (*QueryResultRequest_HttpResponse) MarshalTo ¶
func (m *QueryResultRequest_HttpResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResultRequest_HttpResponse) MarshalToSizedBuffer ¶
func (m *QueryResultRequest_HttpResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResultRequest_HttpResponse) Size ¶
func (m *QueryResultRequest_HttpResponse) Size() (n int)
func (*QueryResultRequest_HttpResponse) String ¶
func (this *QueryResultRequest_HttpResponse) String() string
type QueryResultRequest_QueryResponse ¶
type QueryResultRequest_QueryResponse struct {
QueryResponse *queryrange.QueryResponse `protobuf:"bytes,4,opt,name=queryResponse,proto3,oneof"`
}
func (*QueryResultRequest_QueryResponse) Equal ¶
func (this *QueryResultRequest_QueryResponse) Equal(that interface{}) bool
func (*QueryResultRequest_QueryResponse) GoString ¶
func (this *QueryResultRequest_QueryResponse) GoString() string
func (*QueryResultRequest_QueryResponse) MarshalTo ¶
func (m *QueryResultRequest_QueryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResultRequest_QueryResponse) MarshalToSizedBuffer ¶
func (m *QueryResultRequest_QueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResultRequest_QueryResponse) Size ¶
func (m *QueryResultRequest_QueryResponse) Size() (n int)
func (*QueryResultRequest_QueryResponse) String ¶
func (this *QueryResultRequest_QueryResponse) String() string
type QueryResultResponse ¶
type QueryResultResponse struct { }
func (*QueryResultResponse) Descriptor ¶
func (*QueryResultResponse) Descriptor() ([]byte, []int)
func (*QueryResultResponse) Equal ¶
func (this *QueryResultResponse) Equal(that interface{}) bool
func (*QueryResultResponse) GoString ¶
func (this *QueryResultResponse) GoString() string
func (*QueryResultResponse) Marshal ¶
func (m *QueryResultResponse) Marshal() (dAtA []byte, err error)
func (*QueryResultResponse) MarshalTo ¶
func (m *QueryResultResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryResultResponse) MarshalToSizedBuffer ¶
func (m *QueryResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryResultResponse) ProtoMessage ¶
func (*QueryResultResponse) ProtoMessage()
func (*QueryResultResponse) Reset ¶
func (m *QueryResultResponse) Reset()
func (*QueryResultResponse) Size ¶
func (m *QueryResultResponse) Size() (n int)
func (*QueryResultResponse) String ¶
func (this *QueryResultResponse) String() string
func (*QueryResultResponse) Unmarshal ¶
func (m *QueryResultResponse) Unmarshal(dAtA []byte) error
func (*QueryResultResponse) XXX_DiscardUnknown ¶
func (m *QueryResultResponse) XXX_DiscardUnknown()
func (*QueryResultResponse) XXX_Marshal ¶
func (m *QueryResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryResultResponse) XXX_Merge ¶
func (m *QueryResultResponse) XXX_Merge(src proto.Message)
func (*QueryResultResponse) XXX_Size ¶
func (m *QueryResultResponse) XXX_Size() int
func (*QueryResultResponse) XXX_Unmarshal ¶
func (m *QueryResultResponse) XXX_Unmarshal(b []byte) error
type UnimplementedFrontendForQuerierServer ¶
type UnimplementedFrontendForQuerierServer struct { }
UnimplementedFrontendForQuerierServer can be embedded to have forward compatible implementations.
func (*UnimplementedFrontendForQuerierServer) QueryResult ¶
func (*UnimplementedFrontendForQuerierServer) QueryResult(ctx context.Context, req *QueryResultRequest) (*QueryResultResponse, error)
Click to show internal directories.
Click to hide internal directories.