Documentation ¶
Index ¶
- func RegisterGRPCGateway(ctx context.Context, logger *zap.Logger, r *mux.Router, basePath string, ...) error
- type Handler
- func (h *Handler) FindTraces(request *api_v3.FindTracesRequest, stream api_v3.QueryService_FindTracesServer) error
- func (h *Handler) GetOperations(ctx context.Context, request *api_v3.GetOperationsRequest) (*api_v3.GetOperationsResponse, error)
- func (h *Handler) GetServices(ctx context.Context, _ *api_v3.GetServicesRequest) (*api_v3.GetServicesResponse, error)
- func (h *Handler) GetTrace(request *api_v3.GetTraceRequest, stream api_v3.QueryService_GetTraceServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
QueryService *querysvc.QueryService
}
Handler implements api_v3.QueryServiceServer
func (*Handler) FindTraces ¶
func (h *Handler) FindTraces(request *api_v3.FindTracesRequest, stream api_v3.QueryService_FindTracesServer) error
FindTraces implements api_v3.QueryServiceServer's FindTraces
func (*Handler) GetOperations ¶
func (h *Handler) GetOperations(ctx context.Context, request *api_v3.GetOperationsRequest) (*api_v3.GetOperationsResponse, error)
GetOperations implements api_v3.QueryService's GetOperations
func (*Handler) GetServices ¶
func (h *Handler) GetServices(ctx context.Context, _ *api_v3.GetServicesRequest) (*api_v3.GetServicesResponse, error)
GetServices implements api_v3.QueryServiceServer's GetServices
func (*Handler) GetTrace ¶
func (h *Handler) GetTrace(request *api_v3.GetTraceRequest, stream api_v3.QueryService_GetTraceServer) error
GetTrace implements api_v3.QueryServiceServer's GetTrace
Click to show internal directories.
Click to hide internal directories.