Documentation ¶
Overview ¶
Package grpc provides a Pydio GRPC service for managing chat rooms.
Index ¶
- Variables
- type ChatHandler
- func (c *ChatHandler) DeleteMessage(ctx context.Context, req *chat.DeleteMessageRequest) (*chat.DeleteMessageResponse, error)
- func (c *ChatHandler) DeleteRoom(ctx context.Context, req *chat.DeleteRoomRequest) (*chat.DeleteRoomResponse, error)
- func (c *ChatHandler) ListMessages(req *chat.ListMessagesRequest, streamer chat.ChatService_ListMessagesServer) error
- func (c *ChatHandler) ListRooms(req *chat.ListRoomsRequest, streamer chat.ChatService_ListRoomsServer) error
- func (c *ChatHandler) Name() string
- func (c *ChatHandler) PostMessage(ctx context.Context, req *chat.PostMessageRequest) (*chat.PostMessageResponse, error)
- func (c *ChatHandler) PutRoom(ctx context.Context, req *chat.PutRoomRequest) (*chat.PutRoomResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceName = common.ServiceGrpcNamespace_ + common.ServiceChat
Functions ¶
This section is empty.
Types ¶
type ChatHandler ¶
type ChatHandler struct { chat.UnimplementedChatServiceServer RuntimeCtx context.Context // contains filtered or unexported fields }
func (*ChatHandler) DeleteMessage ¶
func (c *ChatHandler) DeleteMessage(ctx context.Context, req *chat.DeleteMessageRequest) (*chat.DeleteMessageResponse, error)
func (*ChatHandler) DeleteRoom ¶
func (c *ChatHandler) DeleteRoom(ctx context.Context, req *chat.DeleteRoomRequest) (*chat.DeleteRoomResponse, error)
func (*ChatHandler) ListMessages ¶
func (c *ChatHandler) ListMessages(req *chat.ListMessagesRequest, streamer chat.ChatService_ListMessagesServer) error
func (*ChatHandler) ListRooms ¶
func (c *ChatHandler) ListRooms(req *chat.ListRoomsRequest, streamer chat.ChatService_ListRoomsServer) error
func (*ChatHandler) Name ¶
func (c *ChatHandler) Name() string
func (*ChatHandler) PostMessage ¶
func (c *ChatHandler) PostMessage(ctx context.Context, req *chat.PostMessageRequest) (*chat.PostMessageResponse, error)
func (*ChatHandler) PutRoom ¶
func (c *ChatHandler) PutRoom(ctx context.Context, req *chat.PutRoomRequest) (*chat.PutRoomResponse, error)
Click to show internal directories.
Click to hide internal directories.