pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 28 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_jaeger_proto protoreflect.FileDescriptor

Functions

func JaegerServiceClientType

func JaegerServiceClientType() reflect.Type

JaegerServiceClientType .

func JaegerServiceHandlerType

func JaegerServiceHandlerType() reflect.Type

JaegerServiceHandlerType .

func JaegerServiceServerType

func JaegerServiceServerType() reflect.Type

JaegerServiceServerType .

func RegisterJaegerServiceHandler

func RegisterJaegerServiceHandler(r http.Router, srv JaegerServiceHandler, opts ...http.HandleOption)

RegisterJaegerServiceHandler register JaegerServiceHandler to http.Router.

func RegisterJaegerServiceImp

func RegisterJaegerServiceImp(regester transport.Register, srv JaegerServiceServer, opts ...transport.ServiceOption)

RegisterJaegerServiceImp jaeger.proto

func RegisterJaegerServiceServer

func RegisterJaegerServiceServer(s grpc1.ServiceRegistrar, srv JaegerServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type JaegerServiceClient

type JaegerServiceClient interface {
	SpansWithThrift(ctx context.Context, in *PostSpansRequest, opts ...grpc.CallOption) (*pb.VoidResponse, error)
}

JaegerServiceClient is the client API for JaegerService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type JaegerServiceHandler

type JaegerServiceHandler interface {
	// POST /api/jaeger/traces
	SpansWithThrift(context.Context, *PostSpansRequest) (*pb.VoidResponse, error)
}

JaegerServiceHandler is the server API for JaegerService service.

type JaegerServiceServer

type JaegerServiceServer interface {
	SpansWithThrift(context.Context, *PostSpansRequest) (*pb.VoidResponse, error)
}

JaegerServiceServer is the server API for JaegerService service. All implementations should embed UnimplementedJaegerServiceServer for forward compatibility

type PostSpansRequest

type PostSpansRequest struct {
	Spans []*pb.Span `protobuf:"bytes,1,rep,name=spans,proto3" json:"spans,omitempty"`
	// contains filtered or unexported fields
}

func (*PostSpansRequest) Descriptor deprecated

func (*PostSpansRequest) Descriptor() ([]byte, []int)

Deprecated: Use PostSpansRequest.ProtoReflect.Descriptor instead.

func (*PostSpansRequest) GetSpans

func (x *PostSpansRequest) GetSpans() []*pb.Span

func (*PostSpansRequest) MarshalJSON

func (m *PostSpansRequest) MarshalJSON() ([]byte, error)

PostSpansRequest implement json.Marshaler.

func (*PostSpansRequest) ProtoMessage

func (*PostSpansRequest) ProtoMessage()

func (*PostSpansRequest) ProtoReflect

func (x *PostSpansRequest) ProtoReflect() protoreflect.Message

func (*PostSpansRequest) Reset

func (x *PostSpansRequest) Reset()

func (*PostSpansRequest) String

func (x *PostSpansRequest) String() string

func (*PostSpansRequest) UnmarshalJSON

func (m *PostSpansRequest) UnmarshalJSON(b []byte) error

PostSpansRequest implement json.Marshaler.

func (*PostSpansRequest) UnmarshalURLValues

func (m *PostSpansRequest) UnmarshalURLValues(prefix string, values url.Values) error

PostSpansRequest implement urlenc.URLValuesUnmarshaler.

func (*PostSpansRequest) Validate

func (this *PostSpansRequest) Validate() error

type UnimplementedJaegerServiceServer

type UnimplementedJaegerServiceServer struct {
}

UnimplementedJaegerServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedJaegerServiceServer) SpansWithThrift

Jump to

Keyboard shortcuts

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