Documentation ¶
Index ¶
- Variables
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetCode() int32
- func (m *Request) GetKind() isRequest_Kind
- func (x *Request) GetName() string
- func (msg *Request) MarshalJSON() ([]byte, error)
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- func (msg *Request) UnmarshalJSON(b []byte) error
- type Request_Code
- type Request_Name
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_v1_request_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { // Types that are assignable to Kind: // // *Request_Name // *Request_Code Kind isRequest_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
Request is a message that can be sent to the server.
func (*Request) Descriptor
deprecated
func (*Request) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type Request_Code ¶
type Request_Code struct {
Code int32 `protobuf:"varint,2,opt,name=code,proto3,oneof"`
}
type Request_Name ¶
type Request_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.