Documentation ¶
Index ¶
- Variables
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetStatus() Status
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (m *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthShrex = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShrex = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupShrex = fmt.Errorf("proto: unexpected end of group") )
View Source
var Status_name = map[int32]string{
0: "INVALID",
1: "OK",
2: "NOT_FOUND",
3: "INTERNAL",
}
View Source
var Status_value = map[string]int32{
"INVALID": 0,
"OK": 1,
"NOT_FOUND": 2,
"INTERNAL": 3,
}
Functions ¶
This section is empty.
Types ¶
type Response ¶
type Response struct {
Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=Status" json:"status,omitempty"`
}
func (*Response) Descriptor ¶
func (*Response) MarshalToSizedBuffer ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.