rpcx: github.com/smallnest/rpcx/_testutils Index | Files

package testutils

import "github.com/smallnest/rpcx/_testutils"

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

Package Files

GoUnusedProtection__.go arith_service.go thrift_arith_service-consts.go thrift_arith_service.go

Variables

var (
    ErrInvalidLengthArithService = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowArithService   = fmt.Errorf("proto: integer overflow")
)
var GoUnusedProtection__ int

type ProtoArgs Uses

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 Uses

func (*ProtoArgs) Descriptor() ([]byte, []int)

func (*ProtoArgs) GetA Uses

func (m *ProtoArgs) GetA() int32

func (*ProtoArgs) GetB Uses

func (m *ProtoArgs) GetB() int32

func (*ProtoArgs) Marshal Uses

func (m *ProtoArgs) Marshal() (dAtA []byte, err error)

func (*ProtoArgs) MarshalTo Uses

func (m *ProtoArgs) MarshalTo(dAtA []byte) (int, error)

func (*ProtoArgs) ProtoMessage Uses

func (*ProtoArgs) ProtoMessage()

func (*ProtoArgs) Reset Uses

func (m *ProtoArgs) Reset()

func (*ProtoArgs) Size Uses

func (m *ProtoArgs) Size() (n int)

func (*ProtoArgs) String Uses

func (m *ProtoArgs) String() string

func (*ProtoArgs) Unmarshal Uses

func (m *ProtoArgs) Unmarshal(dAtA []byte) error

type ProtoReply Uses

type ProtoReply struct {
    C int32 `protobuf:"varint,1,opt,name=C,proto3" json:"C,omitempty"`
}

func (*ProtoReply) Descriptor Uses

func (*ProtoReply) Descriptor() ([]byte, []int)

func (*ProtoReply) GetC Uses

func (m *ProtoReply) GetC() int32

func (*ProtoReply) Marshal Uses

func (m *ProtoReply) Marshal() (dAtA []byte, err error)

func (*ProtoReply) MarshalTo Uses

func (m *ProtoReply) MarshalTo(dAtA []byte) (int, error)

func (*ProtoReply) ProtoMessage Uses

func (*ProtoReply) ProtoMessage()

func (*ProtoReply) Reset Uses

func (m *ProtoReply) Reset()

func (*ProtoReply) Size Uses

func (m *ProtoReply) Size() (n int)

func (*ProtoReply) String Uses

func (m *ProtoReply) String() string

func (*ProtoReply) Unmarshal Uses

func (m *ProtoReply) Unmarshal(dAtA []byte) error

type ThriftArgs_ Uses

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_ Uses

func NewThriftArgs_() *ThriftArgs_

func (*ThriftArgs_) GetA Uses

func (p *ThriftArgs_) GetA() int32

func (*ThriftArgs_) GetB Uses

func (p *ThriftArgs_) GetB() int32

func (*ThriftArgs_) Read Uses

func (p *ThriftArgs_) Read(iprot thrift.TProtocol) error

func (*ThriftArgs_) ReadField1 Uses

func (p *ThriftArgs_) ReadField1(iprot thrift.TProtocol) error

func (*ThriftArgs_) ReadField2 Uses

func (p *ThriftArgs_) ReadField2(iprot thrift.TProtocol) error

func (*ThriftArgs_) String Uses

func (p *ThriftArgs_) String() string

func (*ThriftArgs_) Write Uses

func (p *ThriftArgs_) Write(oprot thrift.TProtocol) error

type ThriftReply Uses

type ThriftReply struct {
    C int32 `thrift:"c,1" db:"c" json:"c"`
}

Attributes:

- C

func NewThriftReply Uses

func NewThriftReply() *ThriftReply

func (*ThriftReply) GetC Uses

func (p *ThriftReply) GetC() int32

func (*ThriftReply) Read Uses

func (p *ThriftReply) Read(iprot thrift.TProtocol) error

func (*ThriftReply) ReadField1 Uses

func (p *ThriftReply) ReadField1(iprot thrift.TProtocol) error

func (*ThriftReply) String Uses

func (p *ThriftReply) String() string

func (*ThriftReply) Write Uses

func (p *ThriftReply) Write(oprot thrift.TProtocol) error

Package testutils imports 8 packages (graph). Updated 2019-02-27. Refresh now. Tools for package owners.