listen

package
v0.0.0-...-139547c Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterListenServer

func RegisterListenServer(s *grpc.Server, srv ListenServer)

Types

type ListenClient

type ListenClient interface {
	ListenSomething(ctx context.Context, in *ListenRequest, opts ...grpc.CallOption) (*ListenResponse, error)
}

ListenClient is the client API for Listen service.

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

func NewListenClient

func NewListenClient(cc *grpc.ClientConn) ListenClient

type ListenRequest

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

func (*ListenRequest) Descriptor

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

func (*ListenRequest) GetName

func (m *ListenRequest) GetName() string

func (*ListenRequest) ProtoMessage

func (*ListenRequest) ProtoMessage()

func (*ListenRequest) Reset

func (m *ListenRequest) Reset()

func (*ListenRequest) String

func (m *ListenRequest) String() string

func (*ListenRequest) XXX_DiscardUnknown

func (m *ListenRequest) XXX_DiscardUnknown()

func (*ListenRequest) XXX_Marshal

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

func (*ListenRequest) XXX_Merge

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

func (*ListenRequest) XXX_Size

func (m *ListenRequest) XXX_Size() int

func (*ListenRequest) XXX_Unmarshal

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

type ListenResponse

type ListenResponse struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" jsonutil:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `jsonutil:"-"`
	XXX_unrecognized     []byte   `jsonutil:"-"`
	XXX_sizecache        int32    `jsonutil:"-"`
}

func (*ListenResponse) Descriptor

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

func (*ListenResponse) GetMessage

func (m *ListenResponse) GetMessage() string

func (*ListenResponse) ProtoMessage

func (*ListenResponse) ProtoMessage()

func (*ListenResponse) Reset

func (m *ListenResponse) Reset()

func (*ListenResponse) String

func (m *ListenResponse) String() string

func (*ListenResponse) XXX_DiscardUnknown

func (m *ListenResponse) XXX_DiscardUnknown()

func (*ListenResponse) XXX_Marshal

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

func (*ListenResponse) XXX_Merge

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

func (*ListenResponse) XXX_Size

func (m *ListenResponse) XXX_Size() int

func (*ListenResponse) XXX_Unmarshal

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

type ListenServer

type ListenServer interface {
	ListenSomething(context.Context, *ListenRequest) (*ListenResponse, error)
}

ListenServer is the server API for Listen service.

type UnimplementedListenServer

type UnimplementedListenServer struct {
}

UnimplementedListenServer can be embedded to have forward compatible implementations.

func (*UnimplementedListenServer) ListenSomething

Jump to

Keyboard shortcuts

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