pb

package
v0.0.0-...-d79db7e Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthHello = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHello   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterHelloServer

func RegisterHelloServer(s *grpc.Server, srv HelloServer)

Types

type HelloClient

type HelloClient interface {
	SayHello(ctx context.Context, in *Param, opts ...grpc.CallOption) (*Param, error)
}

HelloClient is the client API for Hello service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewHelloClient

func NewHelloClient(cc *grpc.ClientConn) HelloClient

type HelloServer

type HelloServer interface {
	SayHello(context.Context, *Param) (*Param, error)
}

HelloServer is the server API for Hello service.

type Param

type Param struct {
	Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"error,omitempty"`
}

func (*Param) Descriptor

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

func (*Param) Equal

func (this *Param) Equal(that interface{}) bool

func (*Param) GetValue

func (m *Param) GetValue() string

func (*Param) GoString

func (this *Param) GoString() string

func (*Param) Marshal

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

func (*Param) MarshalTo

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

func (*Param) ProtoMessage

func (*Param) ProtoMessage()

func (*Param) Reset

func (m *Param) Reset()

func (*Param) Size

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

func (*Param) String

func (this *Param) String() string

func (*Param) Unmarshal

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

func (*Param) XXX_DiscardUnknown

func (m *Param) XXX_DiscardUnknown()

func (*Param) XXX_Marshal

func (m *Param) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Param) XXX_Merge

func (m *Param) XXX_Merge(src proto.Message)

func (*Param) XXX_Size

func (m *Param) XXX_Size() int

func (*Param) XXX_Unmarshal

func (m *Param) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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