Documentation
¶
Index ¶
- Variables
- type Cancel
- type Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetCancel() *Cancel
- func (x *Order) GetKind() isOrder_Kind
- func (x *Order) GetReserve() *Reserve
- func (*Order) ProtoMessage()
- func (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- type Order_Cancel
- type Order_Reserve
- type Ping
- type Pong
- type Reserve
- type Reserved
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testpb_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Cancel ¶
type Cancel struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Cancel) Descriptor
deprecated
func (*Cancel) ProtoMessage ¶
func (*Cancel) ProtoMessage()
func (*Cancel) ProtoReflect ¶
func (x *Cancel) ProtoReflect() protoreflect.Message
type Order ¶
type Order struct {
// Types that are valid to be assigned to Kind:
//
// *Order_Reserve
// *Order_Cancel
Kind isOrder_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Order is a one-contract-per-process message: a typed process accepts *testpb.Order and switches on Kind.
func (*Order) Descriptor
deprecated
func (*Order) GetReserve ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type Order_Cancel ¶
type Order_Cancel struct {
Cancel *Cancel `protobuf:"bytes,2,opt,name=cancel,proto3,oneof"`
}
type Order_Reserve ¶
type Order_Reserve struct {
Reserve *Reserve `protobuf:"bytes,1,opt,name=reserve,proto3,oneof"`
}
type Ping ¶
type Ping struct {
N int64 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"`
// contains filtered or unexported fields
}
func (*Ping) Descriptor
deprecated
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct {
N int64 `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"`
// contains filtered or unexported fields
}
func (*Pong) Descriptor
deprecated
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
type Reserve ¶
type Reserve struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Reserve) Descriptor
deprecated
func (*Reserve) ProtoMessage ¶
func (*Reserve) ProtoMessage()
func (*Reserve) ProtoReflect ¶
func (x *Reserve) ProtoReflect() protoreflect.Message
type Reserved ¶
type Reserved struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*Reserved) Descriptor
deprecated
func (*Reserved) ProtoMessage ¶
func (*Reserved) ProtoMessage()
func (*Reserved) ProtoReflect ¶
func (x *Reserved) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.