Documentation
      ¶
    
    
  
    
  
    Index ¶
- func RegisterMessengerServer(s *grpc.Server, srv MessengerServer)
 - type MessengerClient
 - type MessengerServer
 - type NotifyRequest
 - func (*NotifyRequest) Descriptor() ([]byte, []int)
 - func (m *NotifyRequest) GetMessage() uint32
 - func (*NotifyRequest) ProtoMessage()
 - func (m *NotifyRequest) Reset()
 - func (m *NotifyRequest) String() string
 - func (m *NotifyRequest) XXX_DiscardUnknown()
 - func (m *NotifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
 - func (m *NotifyRequest) XXX_Merge(src proto.Message)
 - func (m *NotifyRequest) XXX_Size() int
 - func (m *NotifyRequest) XXX_Unmarshal(b []byte) error
 
- type NotifyResponse
 - func (*NotifyResponse) Descriptor() ([]byte, []int)
 - func (*NotifyResponse) ProtoMessage()
 - func (m *NotifyResponse) Reset()
 - func (m *NotifyResponse) String() string
 - func (m *NotifyResponse) XXX_DiscardUnknown()
 - func (m *NotifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
 - func (m *NotifyResponse) XXX_Merge(src proto.Message)
 - func (m *NotifyResponse) XXX_Size() int
 - func (m *NotifyResponse) XXX_Unmarshal(b []byte) error
 
- type UnimplementedMessengerServer
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMessengerServer ¶
func RegisterMessengerServer(s *grpc.Server, srv MessengerServer)
Types ¶
type MessengerClient ¶
type MessengerClient interface {
	Notify(ctx context.Context, in *NotifyRequest, opts ...grpc.CallOption) (*NotifyResponse, error)
}
    MessengerClient is the client API for Messenger service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMessengerClient ¶
func NewMessengerClient(cc grpc.ClientConnInterface) MessengerClient
type MessengerServer ¶
type MessengerServer interface {
	Notify(context.Context, *NotifyRequest) (*NotifyResponse, error)
}
    MessengerServer is the server API for Messenger service.
type NotifyRequest ¶
type NotifyRequest struct {
	Message              uint32   `protobuf:"varint,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
    func (*NotifyRequest) Descriptor ¶
func (*NotifyRequest) Descriptor() ([]byte, []int)
func (*NotifyRequest) GetMessage ¶
func (m *NotifyRequest) GetMessage() uint32
func (*NotifyRequest) ProtoMessage ¶
func (*NotifyRequest) ProtoMessage()
func (*NotifyRequest) Reset ¶
func (m *NotifyRequest) Reset()
func (*NotifyRequest) String ¶
func (m *NotifyRequest) String() string
func (*NotifyRequest) XXX_DiscardUnknown ¶
func (m *NotifyRequest) XXX_DiscardUnknown()
func (*NotifyRequest) XXX_Marshal ¶
func (m *NotifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NotifyRequest) XXX_Merge ¶
func (m *NotifyRequest) XXX_Merge(src proto.Message)
func (*NotifyRequest) XXX_Size ¶
func (m *NotifyRequest) XXX_Size() int
func (*NotifyRequest) XXX_Unmarshal ¶
func (m *NotifyRequest) XXX_Unmarshal(b []byte) error
type NotifyResponse ¶
type NotifyResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}
    func (*NotifyResponse) Descriptor ¶
func (*NotifyResponse) Descriptor() ([]byte, []int)
func (*NotifyResponse) ProtoMessage ¶
func (*NotifyResponse) ProtoMessage()
func (*NotifyResponse) Reset ¶
func (m *NotifyResponse) Reset()
func (*NotifyResponse) String ¶
func (m *NotifyResponse) String() string
func (*NotifyResponse) XXX_DiscardUnknown ¶
func (m *NotifyResponse) XXX_DiscardUnknown()
func (*NotifyResponse) XXX_Marshal ¶
func (m *NotifyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NotifyResponse) XXX_Merge ¶
func (m *NotifyResponse) XXX_Merge(src proto.Message)
func (*NotifyResponse) XXX_Size ¶
func (m *NotifyResponse) XXX_Size() int
func (*NotifyResponse) XXX_Unmarshal ¶
func (m *NotifyResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMessengerServer ¶
type UnimplementedMessengerServer struct {
}
    UnimplementedMessengerServer can be embedded to have forward compatible implementations.
func (*UnimplementedMessengerServer) Notify ¶
func (*UnimplementedMessengerServer) Notify(ctx context.Context, req *NotifyRequest) (*NotifyResponse, error)
 Click to show internal directories. 
   Click to hide internal directories.