repository

package
v0.0.0-...-4602fbc Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageRepository

type MessageRepository interface {
	Save(message *models.Message) error
	Pull(req *models.Request) ([]*models.Message, int64, error)
	CheckCursorExistence(cursor int64) error
}

func NewMessageRepository

func NewMessageRepository(db *sql.DB) MessageRepository

Jump to

Keyboard shortcuts

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