Documentation
¶
Index ¶
- func RegisterChatHandlerServer(s *grpc.Server, srv ChatHandlerServer)
- type Chat
- func (*Chat) Descriptor() ([]byte, []int)
- func (m *Chat) GetID() int64
- func (m *Chat) GetName() string
- func (m *Chat) GetProposal() int64
- func (m *Chat) GetSupport() int64
- func (m *Chat) GetUser() int64
- func (*Chat) ProtoMessage()
- func (m *Chat) Reset()
- func (m *Chat) String() string
- func (m *Chat) XXX_DiscardUnknown()
- func (m *Chat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Chat) XXX_Merge(src proto.Message)
- func (m *Chat) XXX_Size() int
- func (m *Chat) XXX_Unmarshal(b []byte) error
- type ChatHandlerClient
- type ChatHandlerServer
- type Nothing
- func (*Nothing) Descriptor() ([]byte, []int)
- func (m *Nothing) GetDummy() bool
- func (*Nothing) ProtoMessage()
- func (m *Nothing) Reset()
- func (m *Nothing) String() string
- func (m *Nothing) XXX_DiscardUnknown()
- func (m *Nothing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Nothing) XXX_Merge(src proto.Message)
- func (m *Nothing) XXX_Size() int
- func (m *Nothing) XXX_Unmarshal(b []byte) error
- type UnimplementedChatHandlerServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterChatHandlerServer ¶
func RegisterChatHandlerServer(s *grpc.Server, srv ChatHandlerServer)
Types ¶
type Chat ¶
type Chat struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` User int64 `protobuf:"varint,2,opt,name=User,proto3" json:"User,omitempty"` Support int64 `protobuf:"varint,3,opt,name=Support,proto3" json:"Support,omitempty"` Name string `protobuf:"bytes,4,opt,name=Name,proto3" json:"Name,omitempty"` Proposal int64 `protobuf:"varint,5,opt,name=Proposal,proto3" json:"Proposal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Chat) Descriptor ¶
func (*Chat) GetProposal ¶
func (*Chat) GetSupport ¶
func (*Chat) ProtoMessage ¶
func (*Chat) ProtoMessage()
func (*Chat) XXX_DiscardUnknown ¶
func (m *Chat) XXX_DiscardUnknown()
func (*Chat) XXX_Unmarshal ¶
type ChatHandlerClient ¶
type ChatHandlerClient interface {
Create(ctx context.Context, in *Chat, opts ...grpc.CallOption) (*Chat, error)
}
ChatHandlerClient is the client API for ChatHandler service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChatHandlerClient ¶
func NewChatHandlerClient(cc *grpc.ClientConn) ChatHandlerClient
type ChatHandlerServer ¶
ChatHandlerServer is the server API for ChatHandler service.
type Nothing ¶
type Nothing struct { Dummy bool `protobuf:"varint,1,opt,name=dummy,proto3" json:"dummy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Nothing) Descriptor ¶
func (*Nothing) ProtoMessage ¶
func (*Nothing) ProtoMessage()
func (*Nothing) XXX_DiscardUnknown ¶
func (m *Nothing) XXX_DiscardUnknown()
func (*Nothing) XXX_Marshal ¶
func (*Nothing) XXX_Unmarshal ¶
type UnimplementedChatHandlerServer ¶
type UnimplementedChatHandlerServer struct { }
UnimplementedChatHandlerServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.