Documentation ¶
Overview ¶
Package wirepb is a generated protocol buffer package.
It is generated from these files:
encoding/x/protobuf/internal/wirepb/wire.proto
It has these top-level messages:
Error Response
Index ¶
- Variables
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (this *Error) Equal(that interface{}) bool
- func (m *Error) GetMessage() string
- func (this *Error) GoString() string
- func (m *Error) Marshal() (dAtA []byte, err error)
- func (m *Error) MarshalTo(dAtA []byte) (int, error)
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) Size() (n int)
- func (this *Error) String() string
- func (m *Error) Unmarshal(dAtA []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (this *Response) Equal(that interface{}) bool
- func (m *Response) GetError() *Error
- func (m *Response) GetPayload() string
- func (this *Response) GoString() string
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (this *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthWire = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWire = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}
Error is an error that occured while executing a request in the application.
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type Response ¶
type Response struct { Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` }
Response contains the response from executing a request.
func (*Response) Descriptor ¶
func (*Response) GetPayload ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.