proto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHowieServer

func RegisterHowieServer(s *grpc.Server, srv HowieServer)

Types

type HowieClient

type HowieClient interface {
	LoL(ctx context.Context, in *HowieUp, opts ...grpc.CallOption) (*HowieDown, error)
}

HowieClient is the client API for Howie service.

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

func NewHowieClient

func NewHowieClient(cc *grpc.ClientConn) HowieClient

type HowieDown

type HowieDown struct {
	Msg                  string   `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HowieDown) Descriptor

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

func (*HowieDown) GetMsg

func (m *HowieDown) GetMsg() string

func (*HowieDown) ProtoMessage

func (*HowieDown) ProtoMessage()

func (*HowieDown) Reset

func (m *HowieDown) Reset()

func (*HowieDown) String

func (m *HowieDown) String() string

func (*HowieDown) XXX_DiscardUnknown

func (m *HowieDown) XXX_DiscardUnknown()

func (*HowieDown) XXX_Marshal

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

func (*HowieDown) XXX_Merge

func (dst *HowieDown) XXX_Merge(src proto.Message)

func (*HowieDown) XXX_Size

func (m *HowieDown) XXX_Size() int

func (*HowieDown) XXX_Unmarshal

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

type HowieServer

type HowieServer interface {
	LoL(context.Context, *HowieUp) (*HowieDown, error)
}

HowieServer is the server API for Howie service.

type HowieUp

type HowieUp struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*HowieUp) Descriptor

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

func (*HowieUp) GetName

func (m *HowieUp) GetName() string

func (*HowieUp) ProtoMessage

func (*HowieUp) ProtoMessage()

func (*HowieUp) Reset

func (m *HowieUp) Reset()

func (*HowieUp) String

func (m *HowieUp) String() string

func (*HowieUp) XXX_DiscardUnknown

func (m *HowieUp) XXX_DiscardUnknown()

func (*HowieUp) XXX_Marshal

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

func (*HowieUp) XXX_Merge

func (dst *HowieUp) XXX_Merge(src proto.Message)

func (*HowieUp) XXX_Size

func (m *HowieUp) XXX_Size() int

func (*HowieUp) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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