- 0.121.6 (latest)
- 0.121.5
- 0.120.1
- 0.119.0
- 0.118.3
- 0.117.0
- 0.116.0
- 0.115.1
- 0.114.0
- 0.113.0
- 0.112.2
- 0.111.0
- 0.110.10
- 0.109.0
- 0.108.0
- 0.107.0
- 0.106.0
- 0.105.0
- 0.104.0
- 0.103.0
- 0.102.1
- 0.101.1
- 0.100.2
- 0.99.0
- 0.98.0
- 0.97.0
- 0.96.0
- 0.95.0
- 0.94.1
- 0.93.3
- 0.92.3
- 0.91.1
- 0.90.0
- 0.89.0
- 0.88.0
- 0.87.0
- 0.86.0
- 0.85.0
- 0.84.0
- 0.83.0
- 0.82.0
- 0.81.0
- 0.80.0
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
Variables
Entry_Kind_name
var
Entry_Kind_name
=
map
[
int32
]
string
{
0
:
"TYPE_UNSPECIFIED"
,
1
:
"REQUEST"
,
2
:
"RESPONSE"
,
3
:
"CREATE_STREAM"
,
4
:
"SEND"
,
5
:
"RECV"
,
}
Entry_Kind_value
var
Entry_Kind_value
=
map
[
string
]
int32
{
"TYPE_UNSPECIFIED"
:
0
,
"REQUEST"
:
1
,
"RESPONSE"
:
2
,
"CREATE_STREAM"
:
3
,
"SEND"
:
4
,
"RECV"
:
5
,
}
Entry
type
Entry
struct
{
Kind
Entry_Kind
`protobuf:"varint,1,opt,name=kind,proto3,enum=rpcreplay.Entry_Kind" json:"kind,omitempty"`
Method
string
`protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Message
*
any
.
Any
`protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
IsError
bool
`protobuf:"varint,4,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
RefIndex
int32
`protobuf:"varint,5,opt,name=ref_index,json=refIndex,proto3" json:"ref_index,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
An Entry represents a single RPC activity, typically a request or response.
func (*Entry) Descriptor
func (*Entry) GetIsError
func (*Entry) GetKind
func
(
m
*
Entry
)
GetKind
()
Entry_Kind
func (*Entry) GetMessage
func (*Entry) GetMethod
func (*Entry) GetRefIndex
func (*Entry) ProtoMessage
func
(
*
Entry
)
ProtoMessage
()
func (*Entry) Reset
func
(
m
*
Entry
)
Reset
()
func (*Entry) String
func (*Entry) XXX_DiscardUnknown
func
(
m
*
Entry
)
XXX_DiscardUnknown
()
func (*Entry) XXX_Marshal
func (*Entry) XXX_Merge
func (*Entry) XXX_Size
func (*Entry) XXX_Unmarshal
Entry_Kind
type
Entry_Kind
int32
Entry_TYPE_UNSPECIFIED, Entry_REQUEST, Entry_RESPONSE, Entry_CREATE_STREAM, Entry_SEND, Entry_RECV
const
(
Entry_TYPE_UNSPECIFIED
Entry_Kind
=
0
// A unary request.
// method: the full name of the method
// message: the request proto
// is_error: false
// ref_index: 0
Entry_REQUEST
Entry_Kind
=
1
// A unary response.
// method: the full name of the method
// message:
// if is_error: a google.rpc.Status proto
// else: the response proto
// ref_index: index in the sequence of Entries of matching request (1-based)
Entry_RESPONSE
Entry_Kind
=
2
// A method that creates a stream.
// method: the full name of the method
// message:
// if is_error: a google.rpc.Status proto
// else: nil
// ref_index: 0
Entry_CREATE_STREAM
Entry_Kind
=
3
// A call to Send on the client returned by a stream-creating method.
// method: unset
// message: the proto being sent
// is_error: false
// ref_index: index of matching CREATE_STREAM entry (1-based)
Entry_SEND
Entry_Kind
=
4
// A call to Recv on the client returned by a stream-creating method.
// method: unset
// message:
// if is_error: a google.rpc.Status proto, or nil on EOF
// else: the received message
// ref_index: index of matching CREATE_STREAM entry
Entry_RECV
Entry_Kind
=
5
)
func (Entry_Kind) EnumDescriptor
func
(
Entry_Kind
)
EnumDescriptor
()
([]
byte
,
[]
int
)
func (Entry_Kind) String
func
(
x
Entry_Kind
)
String
()
string