Documentation ¶
Overview ¶
Package interop is a generated protocol buffer package.
It is generated from these files:
defs.proto
It has these top-level messages:
EchoRequest EchoResponse
Index ¶
- func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer)
- type EchoRequest
- type EchoResponse
- func (*EchoResponse) Descriptor() ([]byte, []int)
- func (m *EchoResponse) GetSpanId() []byte
- func (m *EchoResponse) GetTagsBlob() []byte
- func (m *EchoResponse) GetTraceId() []byte
- func (m *EchoResponse) GetTraceOptions() int32
- func (*EchoResponse) ProtoMessage()
- func (m *EchoResponse) Reset()
- func (m *EchoResponse) String() string
- type EchoServiceClient
- type EchoServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEchoServiceServer ¶
func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer)
Types ¶
type EchoRequest ¶
type EchoRequest struct { }
func (*EchoRequest) Descriptor ¶
func (*EchoRequest) Descriptor() ([]byte, []int)
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) Reset ¶
func (m *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (m *EchoRequest) String() string
type EchoResponse ¶
type EchoResponse struct { TraceId []byte `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"` SpanId []byte `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"` TagsBlob []byte `protobuf:"bytes,3,opt,name=tags_blob,json=tagsBlob,proto3" json:"tags_blob,omitempty"` TraceOptions int32 `protobuf:"varint,4,opt,name=trace_options,json=traceOptions" json:"trace_options,omitempty"` }
func (*EchoResponse) Descriptor ¶
func (*EchoResponse) Descriptor() ([]byte, []int)
func (*EchoResponse) GetSpanId ¶
func (m *EchoResponse) GetSpanId() []byte
func (*EchoResponse) GetTagsBlob ¶
func (m *EchoResponse) GetTagsBlob() []byte
func (*EchoResponse) GetTraceId ¶
func (m *EchoResponse) GetTraceId() []byte
func (*EchoResponse) GetTraceOptions ¶
func (m *EchoResponse) GetTraceOptions() int32
func (*EchoResponse) ProtoMessage ¶
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) Reset ¶
func (m *EchoResponse) Reset()
func (*EchoResponse) String ¶
func (m *EchoResponse) String() string
type EchoServiceClient ¶
type EchoServiceClient interface {
Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
}
func NewEchoServiceClient ¶
func NewEchoServiceClient(cc *grpc.ClientConn) EchoServiceClient
type EchoServiceServer ¶
type EchoServiceServer interface {
Echo(context.Context, *EchoRequest) (*EchoResponse, error)
}
Click to show internal directories.
Click to hide internal directories.