Documentation ¶
Overview ¶
Package client is a generated protocol buffer package.
It is generated from these files:
arith_service.proto
It has these top-level messages:
ProtoArgs ProtoReply
Index ¶
- Variables
- type ProtoArgs
- func (*ProtoArgs) Descriptor() ([]byte, []int)
- func (m *ProtoArgs) GetA() int32
- func (m *ProtoArgs) GetB() int32
- func (m *ProtoArgs) Marshal() (dAtA []byte, err error)
- func (m *ProtoArgs) MarshalTo(dAtA []byte) (int, error)
- func (*ProtoArgs) ProtoMessage()
- func (m *ProtoArgs) Reset()
- func (m *ProtoArgs) Size() (n int)
- func (m *ProtoArgs) String() string
- func (m *ProtoArgs) Unmarshal(dAtA []byte) error
- type ProtoReply
- func (*ProtoReply) Descriptor() ([]byte, []int)
- func (m *ProtoReply) GetC() int32
- func (m *ProtoReply) Marshal() (dAtA []byte, err error)
- func (m *ProtoReply) MarshalTo(dAtA []byte) (int, error)
- func (*ProtoReply) ProtoMessage()
- func (m *ProtoReply) Reset()
- func (m *ProtoReply) Size() (n int)
- func (m *ProtoReply) String() string
- func (m *ProtoReply) Unmarshal(dAtA []byte) error
- type ThriftArgs_
- func (p *ThriftArgs_) GetA() int32
- func (p *ThriftArgs_) GetB() int32
- func (p *ThriftArgs_) Read(iprot thrift.TProtocol) error
- func (p *ThriftArgs_) ReadField1(iprot thrift.TProtocol) error
- func (p *ThriftArgs_) ReadField2(iprot thrift.TProtocol) error
- func (p *ThriftArgs_) String() string
- func (p *ThriftArgs_) Write(oprot thrift.TProtocol) error
- type ThriftReply
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthArithService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowArithService = fmt.Errorf("proto: integer overflow") )
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type ProtoArgs ¶
type ProtoReply ¶
type ProtoReply struct {
C int32 `protobuf:"varint,1,opt,name=C,proto3" json:"C,omitempty"`
}
func (*ProtoReply) Descriptor ¶
func (*ProtoReply) Descriptor() ([]byte, []int)
func (*ProtoReply) GetC ¶
func (m *ProtoReply) GetC() int32
func (*ProtoReply) Marshal ¶
func (m *ProtoReply) Marshal() (dAtA []byte, err error)
func (*ProtoReply) MarshalTo ¶
func (m *ProtoReply) MarshalTo(dAtA []byte) (int, error)
func (*ProtoReply) ProtoMessage ¶
func (*ProtoReply) ProtoMessage()
func (*ProtoReply) Reset ¶
func (m *ProtoReply) Reset()
func (*ProtoReply) Size ¶
func (m *ProtoReply) Size() (n int)
func (*ProtoReply) String ¶
func (m *ProtoReply) String() string
func (*ProtoReply) Unmarshal ¶
func (m *ProtoReply) Unmarshal(dAtA []byte) error
type ThriftArgs_ ¶
type ThriftArgs_ struct { A int32 `thrift:"a,1" db:"a" json:"a"` B int32 `thrift:"b,2" db:"b" json:"b"` }
Attributes:
- A
- B
func NewThriftArgs_ ¶
func NewThriftArgs_() *ThriftArgs_
func (*ThriftArgs_) GetA ¶
func (p *ThriftArgs_) GetA() int32
func (*ThriftArgs_) GetB ¶
func (p *ThriftArgs_) GetB() int32
func (*ThriftArgs_) Read ¶
func (p *ThriftArgs_) Read(iprot thrift.TProtocol) error
func (*ThriftArgs_) ReadField1 ¶
func (p *ThriftArgs_) ReadField1(iprot thrift.TProtocol) error
func (*ThriftArgs_) ReadField2 ¶
func (p *ThriftArgs_) ReadField2(iprot thrift.TProtocol) error
func (*ThriftArgs_) String ¶
func (p *ThriftArgs_) String() string
func (*ThriftArgs_) Write ¶
func (p *ThriftArgs_) Write(oprot thrift.TProtocol) error
type ThriftReply ¶
type ThriftReply struct {
C int32 `thrift:"c,1" db:"c" json:"c"`
}
Attributes:
- C
func NewThriftReply ¶
func NewThriftReply() *ThriftReply
func (*ThriftReply) GetC ¶
func (p *ThriftReply) GetC() int32
func (*ThriftReply) Read ¶
func (p *ThriftReply) Read(iprot thrift.TProtocol) error
func (*ThriftReply) ReadField1 ¶
func (p *ThriftReply) ReadField1(iprot thrift.TProtocol) error
func (*ThriftReply) String ¶
func (p *ThriftReply) String() string
func (*ThriftReply) Write ¶
func (p *ThriftReply) Write(oprot thrift.TProtocol) error
Click to show internal directories.
Click to hide internal directories.