apiv3

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 24 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPGateway added in v1.53.0

type HTTPGateway struct {
	QueryService *querysvc.QueryService
	TenancyMgr   *tenancy.Manager
	Logger       *zap.Logger
	Tracer       *jtracer.JTracer
}

HTTPGateway exposes APIv3 HTTP endpoints.

func (*HTTPGateway) RegisterRoutes added in v1.53.0

func (h *HTTPGateway) RegisterRoutes(router *mux.Router)

RegisterRoutes registers HTTP endpoints for APIv3 into provided mux. The called can create a subrouter if it needs to prepend a base path.

type Handler

type Handler struct {
	QueryService *querysvc.QueryService
}

Handler implements api_v3.QueryServiceServer

func (*Handler) FindTraces

FindTraces implements api_v3.QueryServiceServer's FindTraces

func (*Handler) GetOperations

GetOperations implements api_v3.QueryService's GetOperations

func (*Handler) GetServices

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

Jump to

Keyboard shortcuts

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