chat

package
v0.0.0-...-e7c2cf1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cursor

type Cursor struct {
	At    time.Time
	Id    string
	After bool
}

type Filter

type Filter struct {
	Cursor *Cursor
	Limit  int
}

type Repository

type Repository interface {
	InsertNewChat(content *chatEntity.DAO) error
	SelectChat(convoId string, filter Filter) ([]chatEntity.DAO, error)
	UpdateSeenChat(convId, authorId string) ([]string, error)
	DeleteChatById(chatId string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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