Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDelivery ¶
func NewDelivery(serverInstance *grpc.Server, chatController chat.Controller)
Types ¶
type ChatServer ¶
type ChatServer struct {
ChatController chat.Controller
}
func (*ChatServer) GetMessages ¶
func (server *ChatServer) GetMessages(req *chatPB.GetMessagesRequest, stream chatPB.Chat_GetMessagesServer) error
func (*ChatServer) SendMessage ¶
func (server *ChatServer) SendMessage(ctx context.Context, req *chatPB.ClientMessage) (*chatPB.SendMessageResponse, error)
Click to show internal directories.
Click to hide internal directories.