testutils

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

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

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) Descriptor() ([]byte, []int)

func (*ProtoArgs) GetA

func (m *ProtoArgs) GetA() int32

func (*ProtoArgs) GetB

func (m *ProtoArgs) GetB() int32

func (*ProtoArgs) Marshal

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

func (*ProtoArgs) MarshalTo

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

func (*ProtoArgs) ProtoMessage

func (*ProtoArgs) ProtoMessage()

func (*ProtoArgs) Reset

func (m *ProtoArgs) Reset()

func (*ProtoArgs) Size

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

func (*ProtoArgs) String

func (m *ProtoArgs) String() string

func (*ProtoArgs) Unmarshal

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL