service

package
v0.0.0-...-5713efe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL