Versions in this module Expand all Collapse all v1 v1.1.0 Jun 21, 2019 v1.0.0 May 28, 2019 Changes in this version + func RegisterAliceHandler(s server.Server, hdlr AliceHandler, opts ...server.HandlerOption) error + func RegisterBobHandler(s server.Server, hdlr BobHandler, opts ...server.HandlerOption) error + type AliceHandler interface + Sing func(context.Context, *AliceRequest, *AliceResponse) error + type AliceRequest struct + RevMsg string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AliceRequest) Descriptor() ([]byte, []int) + func (*AliceRequest) ProtoMessage() + func (m *AliceRequest) GetRevMsg() string + func (m *AliceRequest) Reset() + func (m *AliceRequest) String() string + func (m *AliceRequest) XXX_DiscardUnknown() + func (m *AliceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AliceRequest) XXX_Merge(src proto.Message) + func (m *AliceRequest) XXX_Size() int + func (m *AliceRequest) XXX_Unmarshal(b []byte) error + type AliceResponse struct + RetCode int32 + SendMsg string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AliceResponse) Descriptor() ([]byte, []int) + func (*AliceResponse) ProtoMessage() + func (m *AliceResponse) GetRetCode() int32 + func (m *AliceResponse) GetSendMsg() string + func (m *AliceResponse) Reset() + func (m *AliceResponse) String() string + func (m *AliceResponse) XXX_DiscardUnknown() + func (m *AliceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AliceResponse) XXX_Merge(src proto.Message) + func (m *AliceResponse) XXX_Size() int + func (m *AliceResponse) XXX_Unmarshal(b []byte) error + type AliceService interface + Sing func(ctx context.Context, in *AliceRequest, opts ...client.CallOption) (*AliceResponse, error) + func NewAliceService(name string, c client.Client) AliceService + type BobHandler interface + Dance func(context.Context, *BobRequest, *BobResponse) error + type BobRequest struct + RevMsg string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BobRequest) Descriptor() ([]byte, []int) + func (*BobRequest) ProtoMessage() + func (m *BobRequest) GetRevMsg() string + func (m *BobRequest) Reset() + func (m *BobRequest) String() string + func (m *BobRequest) XXX_DiscardUnknown() + func (m *BobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BobRequest) XXX_Merge(src proto.Message) + func (m *BobRequest) XXX_Size() int + func (m *BobRequest) XXX_Unmarshal(b []byte) error + type BobResponse struct + RetCode int32 + SendMsg string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BobResponse) Descriptor() ([]byte, []int) + func (*BobResponse) ProtoMessage() + func (m *BobResponse) GetRetCode() int32 + func (m *BobResponse) GetSendMsg() string + func (m *BobResponse) Reset() + func (m *BobResponse) String() string + func (m *BobResponse) XXX_DiscardUnknown() + func (m *BobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BobResponse) XXX_Merge(src proto.Message) + func (m *BobResponse) XXX_Size() int + func (m *BobResponse) XXX_Unmarshal(b []byte) error + type BobService interface + Dance func(ctx context.Context, in *BobRequest, opts ...client.CallOption) (*BobResponse, error) + func NewBobService(name string, c client.Client) BobService