sendqueue

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type SendQueues

type SendQueues struct {
	Id         int64  `db:"id"`
	UserId     int64  `db:"user_id"`
	Message    string `db:"message"`
	SendUserId int64  `db:"send_user_id"`
}

type SendQueuesModel

type SendQueuesModel interface {
	FindByUserId(ctx context.Context, userId int64) ([]SendQueues, error)
	// contains filtered or unexported methods
}

SendQueuesModel is an interface to be customized, add more methods here, and implement the added methods in customSendQueuesModel.

func NewSendQueuesModel

func NewSendQueuesModel(conn sqlx.SqlConn) SendQueuesModel

NewSendQueuesModel returns a model for the database table.

Jump to

Keyboard shortcuts

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