Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatService ¶
type ChatService struct {
// contains filtered or unexported fields
}
func NewChatService ¶
func NewChatService(ctx context.Context) *ChatService
func (*ChatService) GetMessages ¶
func (c *ChatService) GetMessages(req *chat.MessageListRequest, user_id int64) ([]*db.Message, error)
func (*ChatService) SendMessage ¶
func (c *ChatService) SendMessage(req *chat.MessagePostRequest, user_id int64, create_at string) error
Click to show internal directories.
Click to hide internal directories.