pb

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package pb 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")
)

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

Jump to

Keyboard shortcuts

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