Documentation
¶
Index ¶
- Constants
- func NewSRPCTraceServiceHandler(impl SRPCTraceServiceServer, serviceID string) srpc.Handler
- func SRPCRegisterTraceService(mux srpc.Mux, impl SRPCTraceServiceServer) error
- type SRPCTraceServiceClient
- type SRPCTraceServiceHandler
- func (SRPCTraceServiceHandler) GetMethodIDs() []string
- func (d *SRPCTraceServiceHandler) GetServiceID() string
- func (d *SRPCTraceServiceHandler) InvokeMethod(serviceID, methodID string, strm srpc.Stream) (bool, error)
- func (SRPCTraceServiceHandler) InvokeMethod_StartTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
- func (SRPCTraceServiceHandler) InvokeMethod_StopTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
- type SRPCTraceServiceServer
- type SRPCTraceService_StartTraceStream
- type SRPCTraceService_StopTraceClient
- type SRPCTraceService_StopTraceStream
- type StartTraceRequest
- func (m *StartTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StartTraceRequest) CloneVT() *StartTraceRequest
- func (this *StartTraceRequest) EqualMessageVT(thatMsg any) bool
- func (this *StartTraceRequest) EqualVT(that *StartTraceRequest) bool
- func (x *StartTraceRequest) GetLabel() string
- func (x *StartTraceRequest) MarshalJSON() ([]byte, error)
- func (x *StartTraceRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *StartTraceRequest) MarshalProtoText() string
- func (m *StartTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartTraceRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartTraceRequest) MarshalVT() (dAtA []byte, err error)
- func (*StartTraceRequest) ProtoMessage()
- func (x *StartTraceRequest) Reset()
- func (m *StartTraceRequest) SizeVT() (n int)
- func (x *StartTraceRequest) String() string
- func (x *StartTraceRequest) UnmarshalJSON(b []byte) error
- func (x *StartTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StartTraceRequest) UnmarshalVT(dAtA []byte) error
- type StartTraceResponse
- func (m *StartTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StartTraceResponse) CloneVT() *StartTraceResponse
- func (this *StartTraceResponse) EqualMessageVT(thatMsg any) bool
- func (this *StartTraceResponse) EqualVT(that *StartTraceResponse) bool
- func (x *StartTraceResponse) MarshalJSON() ([]byte, error)
- func (x *StartTraceResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *StartTraceResponse) MarshalProtoText() string
- func (m *StartTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StartTraceResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StartTraceResponse) MarshalVT() (dAtA []byte, err error)
- func (*StartTraceResponse) ProtoMessage()
- func (x *StartTraceResponse) Reset()
- func (m *StartTraceResponse) SizeVT() (n int)
- func (x *StartTraceResponse) String() string
- func (x *StartTraceResponse) UnmarshalJSON(b []byte) error
- func (x *StartTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StartTraceResponse) UnmarshalVT(dAtA []byte) error
- type StopTraceRequest
- func (m *StopTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StopTraceRequest) CloneVT() *StopTraceRequest
- func (this *StopTraceRequest) EqualMessageVT(thatMsg any) bool
- func (this *StopTraceRequest) EqualVT(that *StopTraceRequest) bool
- func (x *StopTraceRequest) MarshalJSON() ([]byte, error)
- func (x *StopTraceRequest) MarshalProtoJSON(s *json.MarshalState)
- func (x *StopTraceRequest) MarshalProtoText() string
- func (m *StopTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopTraceRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopTraceRequest) MarshalVT() (dAtA []byte, err error)
- func (*StopTraceRequest) ProtoMessage()
- func (x *StopTraceRequest) Reset()
- func (m *StopTraceRequest) SizeVT() (n int)
- func (x *StopTraceRequest) String() string
- func (x *StopTraceRequest) UnmarshalJSON(b []byte) error
- func (x *StopTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StopTraceRequest) UnmarshalVT(dAtA []byte) error
- type StopTraceResponse
- func (m *StopTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *StopTraceResponse) CloneVT() *StopTraceResponse
- func (this *StopTraceResponse) EqualMessageVT(thatMsg any) bool
- func (this *StopTraceResponse) EqualVT(that *StopTraceResponse) bool
- func (x *StopTraceResponse) GetData() []byte
- func (x *StopTraceResponse) MarshalJSON() ([]byte, error)
- func (x *StopTraceResponse) MarshalProtoJSON(s *json.MarshalState)
- func (x *StopTraceResponse) MarshalProtoText() string
- func (m *StopTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StopTraceResponse) MarshalToVT(dAtA []byte) (int, error)
- func (m *StopTraceResponse) MarshalVT() (dAtA []byte, err error)
- func (*StopTraceResponse) ProtoMessage()
- func (x *StopTraceResponse) Reset()
- func (m *StopTraceResponse) SizeVT() (n int)
- func (x *StopTraceResponse) String() string
- func (x *StopTraceResponse) UnmarshalJSON(b []byte) error
- func (x *StopTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *StopTraceResponse) UnmarshalVT(dAtA []byte) error
Constants ¶
const SRPCTraceServiceServiceID = "s4wave.trace.TraceService"
Variables ¶
This section is empty.
Functions ¶
func NewSRPCTraceServiceHandler ¶
func NewSRPCTraceServiceHandler(impl SRPCTraceServiceServer, serviceID string) srpc.Handler
NewSRPCTraceServiceHandler constructs a new RPC handler. serviceID: if empty, uses default: s4wave.trace.TraceService
func SRPCRegisterTraceService ¶
func SRPCRegisterTraceService(mux srpc.Mux, impl SRPCTraceServiceServer) error
SRPCRegisterTraceService registers the implementation with the mux. Uses the default serviceID: s4wave.trace.TraceService
Types ¶
type SRPCTraceServiceClient ¶
type SRPCTraceServiceClient interface {
// SRPCClient returns the underlying SRPC client.
SRPCClient() srpc.Client
StartTrace(ctx context.Context, in *StartTraceRequest) (*StartTraceResponse, error)
StopTrace(ctx context.Context, in *StopTraceRequest) (SRPCTraceService_StopTraceClient, error)
}
func NewSRPCTraceServiceClient ¶
func NewSRPCTraceServiceClient(cc srpc.Client) SRPCTraceServiceClient
func NewSRPCTraceServiceClientWithServiceID ¶
func NewSRPCTraceServiceClientWithServiceID(cc srpc.Client, serviceID string) SRPCTraceServiceClient
type SRPCTraceServiceHandler ¶
type SRPCTraceServiceHandler struct {
// contains filtered or unexported fields
}
func (SRPCTraceServiceHandler) GetMethodIDs ¶
func (SRPCTraceServiceHandler) GetMethodIDs() []string
func (*SRPCTraceServiceHandler) GetServiceID ¶
func (d *SRPCTraceServiceHandler) GetServiceID() string
func (*SRPCTraceServiceHandler) InvokeMethod ¶
func (SRPCTraceServiceHandler) InvokeMethod_StartTrace ¶
func (SRPCTraceServiceHandler) InvokeMethod_StartTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
func (SRPCTraceServiceHandler) InvokeMethod_StopTrace ¶
func (SRPCTraceServiceHandler) InvokeMethod_StopTrace(impl SRPCTraceServiceServer, strm srpc.Stream) error
type SRPCTraceServiceServer ¶
type SRPCTraceServiceServer interface {
StartTrace(context.Context, *StartTraceRequest) (*StartTraceResponse, error)
StopTrace(*StopTraceRequest, SRPCTraceService_StopTraceStream) error
}
type SRPCTraceService_StopTraceClient ¶
type SRPCTraceService_StopTraceClient interface {
srpc.Stream
Recv() (*StopTraceResponse, error)
RecvTo(*StopTraceResponse) error
}
type SRPCTraceService_StopTraceStream ¶
type SRPCTraceService_StopTraceStream interface {
srpc.Stream
Send(*StopTraceResponse) error
SendAndClose(*StopTraceResponse) error
}
type StartTraceRequest ¶
type StartTraceRequest struct {
// Label is an optional human-readable label for the capture.
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
// contains filtered or unexported fields
}
StartTraceRequest is the request for StartTrace.
func (*StartTraceRequest) CloneMessageVT ¶
func (m *StartTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StartTraceRequest) CloneVT ¶
func (m *StartTraceRequest) CloneVT() *StartTraceRequest
func (*StartTraceRequest) EqualMessageVT ¶
func (this *StartTraceRequest) EqualMessageVT(thatMsg any) bool
func (*StartTraceRequest) EqualVT ¶
func (this *StartTraceRequest) EqualVT(that *StartTraceRequest) bool
func (*StartTraceRequest) GetLabel ¶
func (x *StartTraceRequest) GetLabel() string
func (*StartTraceRequest) MarshalJSON ¶
func (x *StartTraceRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StartTraceRequest to JSON.
func (*StartTraceRequest) MarshalProtoJSON ¶
func (x *StartTraceRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StartTraceRequest message to JSON.
func (*StartTraceRequest) MarshalProtoText ¶
func (x *StartTraceRequest) MarshalProtoText() string
func (*StartTraceRequest) MarshalToSizedBufferVT ¶
func (m *StartTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartTraceRequest) MarshalToVT ¶
func (m *StartTraceRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StartTraceRequest) MarshalVT ¶
func (m *StartTraceRequest) MarshalVT() (dAtA []byte, err error)
func (*StartTraceRequest) ProtoMessage ¶
func (*StartTraceRequest) ProtoMessage()
func (*StartTraceRequest) Reset ¶
func (x *StartTraceRequest) Reset()
func (*StartTraceRequest) SizeVT ¶
func (m *StartTraceRequest) SizeVT() (n int)
func (*StartTraceRequest) String ¶
func (x *StartTraceRequest) String() string
func (*StartTraceRequest) UnmarshalJSON ¶
func (x *StartTraceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StartTraceRequest from JSON.
func (*StartTraceRequest) UnmarshalProtoJSON ¶
func (x *StartTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StartTraceRequest message from JSON.
func (*StartTraceRequest) UnmarshalVT ¶
func (m *StartTraceRequest) UnmarshalVT(dAtA []byte) error
type StartTraceResponse ¶
type StartTraceResponse struct {
// contains filtered or unexported fields
}
StartTraceResponse is the response for StartTrace.
func (*StartTraceResponse) CloneMessageVT ¶
func (m *StartTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StartTraceResponse) CloneVT ¶
func (m *StartTraceResponse) CloneVT() *StartTraceResponse
func (*StartTraceResponse) EqualMessageVT ¶
func (this *StartTraceResponse) EqualMessageVT(thatMsg any) bool
func (*StartTraceResponse) EqualVT ¶
func (this *StartTraceResponse) EqualVT(that *StartTraceResponse) bool
func (*StartTraceResponse) MarshalJSON ¶
func (x *StartTraceResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StartTraceResponse to JSON.
func (*StartTraceResponse) MarshalProtoJSON ¶
func (x *StartTraceResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StartTraceResponse message to JSON.
func (*StartTraceResponse) MarshalProtoText ¶
func (x *StartTraceResponse) MarshalProtoText() string
func (*StartTraceResponse) MarshalToSizedBufferVT ¶
func (m *StartTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StartTraceResponse) MarshalToVT ¶
func (m *StartTraceResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StartTraceResponse) MarshalVT ¶
func (m *StartTraceResponse) MarshalVT() (dAtA []byte, err error)
func (*StartTraceResponse) ProtoMessage ¶
func (*StartTraceResponse) ProtoMessage()
func (*StartTraceResponse) Reset ¶
func (x *StartTraceResponse) Reset()
func (*StartTraceResponse) SizeVT ¶
func (m *StartTraceResponse) SizeVT() (n int)
func (*StartTraceResponse) String ¶
func (x *StartTraceResponse) String() string
func (*StartTraceResponse) UnmarshalJSON ¶
func (x *StartTraceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StartTraceResponse from JSON.
func (*StartTraceResponse) UnmarshalProtoJSON ¶
func (x *StartTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StartTraceResponse message from JSON.
func (*StartTraceResponse) UnmarshalVT ¶
func (m *StartTraceResponse) UnmarshalVT(dAtA []byte) error
type StopTraceRequest ¶
type StopTraceRequest struct {
// contains filtered or unexported fields
}
StopTraceRequest is the request for StopTrace.
func (*StopTraceRequest) CloneMessageVT ¶
func (m *StopTraceRequest) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StopTraceRequest) CloneVT ¶
func (m *StopTraceRequest) CloneVT() *StopTraceRequest
func (*StopTraceRequest) EqualMessageVT ¶
func (this *StopTraceRequest) EqualMessageVT(thatMsg any) bool
func (*StopTraceRequest) EqualVT ¶
func (this *StopTraceRequest) EqualVT(that *StopTraceRequest) bool
func (*StopTraceRequest) MarshalJSON ¶
func (x *StopTraceRequest) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StopTraceRequest to JSON.
func (*StopTraceRequest) MarshalProtoJSON ¶
func (x *StopTraceRequest) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StopTraceRequest message to JSON.
func (*StopTraceRequest) MarshalProtoText ¶
func (x *StopTraceRequest) MarshalProtoText() string
func (*StopTraceRequest) MarshalToSizedBufferVT ¶
func (m *StopTraceRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopTraceRequest) MarshalToVT ¶
func (m *StopTraceRequest) MarshalToVT(dAtA []byte) (int, error)
func (*StopTraceRequest) MarshalVT ¶
func (m *StopTraceRequest) MarshalVT() (dAtA []byte, err error)
func (*StopTraceRequest) ProtoMessage ¶
func (*StopTraceRequest) ProtoMessage()
func (*StopTraceRequest) Reset ¶
func (x *StopTraceRequest) Reset()
func (*StopTraceRequest) SizeVT ¶
func (m *StopTraceRequest) SizeVT() (n int)
func (*StopTraceRequest) String ¶
func (x *StopTraceRequest) String() string
func (*StopTraceRequest) UnmarshalJSON ¶
func (x *StopTraceRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StopTraceRequest from JSON.
func (*StopTraceRequest) UnmarshalProtoJSON ¶
func (x *StopTraceRequest) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StopTraceRequest message from JSON.
func (*StopTraceRequest) UnmarshalVT ¶
func (m *StopTraceRequest) UnmarshalVT(dAtA []byte) error
type StopTraceResponse ¶
type StopTraceResponse struct {
// Data is a chunk of the raw runtime trace bytes.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
StopTraceResponse is a streamed response chunk for StopTrace.
func (*StopTraceResponse) CloneMessageVT ¶
func (m *StopTraceResponse) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*StopTraceResponse) CloneVT ¶
func (m *StopTraceResponse) CloneVT() *StopTraceResponse
func (*StopTraceResponse) EqualMessageVT ¶
func (this *StopTraceResponse) EqualMessageVT(thatMsg any) bool
func (*StopTraceResponse) EqualVT ¶
func (this *StopTraceResponse) EqualVT(that *StopTraceResponse) bool
func (*StopTraceResponse) GetData ¶
func (x *StopTraceResponse) GetData() []byte
func (*StopTraceResponse) MarshalJSON ¶
func (x *StopTraceResponse) MarshalJSON() ([]byte, error)
MarshalJSON marshals the StopTraceResponse to JSON.
func (*StopTraceResponse) MarshalProtoJSON ¶
func (x *StopTraceResponse) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the StopTraceResponse message to JSON.
func (*StopTraceResponse) MarshalProtoText ¶
func (x *StopTraceResponse) MarshalProtoText() string
func (*StopTraceResponse) MarshalToSizedBufferVT ¶
func (m *StopTraceResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*StopTraceResponse) MarshalToVT ¶
func (m *StopTraceResponse) MarshalToVT(dAtA []byte) (int, error)
func (*StopTraceResponse) MarshalVT ¶
func (m *StopTraceResponse) MarshalVT() (dAtA []byte, err error)
func (*StopTraceResponse) ProtoMessage ¶
func (*StopTraceResponse) ProtoMessage()
func (*StopTraceResponse) Reset ¶
func (x *StopTraceResponse) Reset()
func (*StopTraceResponse) SizeVT ¶
func (m *StopTraceResponse) SizeVT() (n int)
func (*StopTraceResponse) String ¶
func (x *StopTraceResponse) String() string
func (*StopTraceResponse) UnmarshalJSON ¶
func (x *StopTraceResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the StopTraceResponse from JSON.
func (*StopTraceResponse) UnmarshalProtoJSON ¶
func (x *StopTraceResponse) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the StopTraceResponse message from JSON.
func (*StopTraceResponse) UnmarshalVT ¶
func (m *StopTraceResponse) UnmarshalVT(dAtA []byte) error