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_) Equals(other *ThriftArgs_) bool
- func (p *ThriftArgs_) GetA() int32
- func (p *ThriftArgs_) GetB() int32
- func (p *ThriftArgs_) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ThriftArgs_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ThriftArgs_) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ThriftArgs_) String() string
- func (p *ThriftArgs_) Write(ctx context.Context, oprot thrift.TProtocol) error
- type ThriftReply
- func (p *ThriftReply) Equals(other *ThriftReply) bool
- func (p *ThriftReply) GetC() int32
- func (p *ThriftReply) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ThriftReply) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *ThriftReply) String() string
- func (p *ThriftReply) Write(ctx context.Context, oprot thrift.TProtocol) error
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 ProtoArgs struct { A int32 `protobuf:"varint,1,opt,name=A,proto3" json:"A,omitempty"` B int32 `protobuf:"varint,2,opt,name=B,proto3" json:"B,omitempty"` }
func (*ProtoArgs) Descriptor ¶
func (*ProtoArgs) ProtoMessage ¶
func (*ProtoArgs) ProtoMessage()
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) 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_) Equals ¶
func (p *ThriftArgs_) Equals(other *ThriftArgs_) bool
func (*ThriftArgs_) GetA ¶
func (p *ThriftArgs_) GetA() int32
func (*ThriftArgs_) GetB ¶
func (p *ThriftArgs_) GetB() int32
func (*ThriftArgs_) ReadField1 ¶
func (*ThriftArgs_) ReadField2 ¶
func (*ThriftArgs_) String ¶
func (p *ThriftArgs_) String() string
type ThriftReply ¶
type ThriftReply struct {
C int32 `thrift:"c,1" db:"c" json:"c"`
}
Attributes:
- C
func NewThriftReply ¶
func NewThriftReply() *ThriftReply
func (*ThriftReply) Equals ¶
func (p *ThriftReply) Equals(other *ThriftReply) bool
func (*ThriftReply) GetC ¶
func (p *ThriftReply) GetC() int32
func (*ThriftReply) ReadField1 ¶
func (*ThriftReply) String ¶
func (p *ThriftReply) String() string
Click to show internal directories.
Click to hide internal directories.