Documentation ¶
Index ¶
- Variables
- func JaegerServiceClientType() reflect.Type
- func JaegerServiceHandlerType() reflect.Type
- func JaegerServiceServerType() reflect.Type
- func RegisterJaegerServiceHandler(r http.Router, srv JaegerServiceHandler, opts ...http.HandleOption)
- func RegisterJaegerServiceImp(regester transport.Register, srv JaegerServiceServer, ...)
- func RegisterJaegerServiceServer(s grpc1.ServiceRegistrar, srv JaegerServiceServer, opts ...grpc1.HandleOption)
- func ServiceNames(svr ...string) []string
- func Types() []reflect.Type
- type JaegerServiceClient
- type JaegerServiceHandler
- type JaegerServiceServer
- type PostSpansRequest
- func (*PostSpansRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostSpansRequest) GetSpans() []*pb.Span
- func (m *PostSpansRequest) MarshalJSON() ([]byte, error)
- func (*PostSpansRequest) ProtoMessage()
- func (x *PostSpansRequest) ProtoReflect() protoreflect.Message
- func (x *PostSpansRequest) Reset()
- func (x *PostSpansRequest) String() string
- func (m *PostSpansRequest) UnmarshalJSON(b []byte) error
- func (m *PostSpansRequest) UnmarshalURLValues(prefix string, values url.Values) error
- func (this *PostSpansRequest) Validate() error
- type UnimplementedJaegerServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_jaeger_proto protoreflect.FileDescriptor
Functions ¶
func JaegerServiceClientType ¶
JaegerServiceClientType .
func JaegerServiceHandlerType ¶
JaegerServiceHandlerType .
func JaegerServiceServerType ¶
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)
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.
func NewJaegerServiceClient ¶
func NewJaegerServiceClient(cc grpc1.ClientConnInterface) JaegerServiceClient
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 ¶
func (*UnimplementedJaegerServiceServer) SpansWithThrift(context.Context, *PostSpansRequest) (*pb.VoidResponse, error)