repository

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetQueueSize() int
	GetByGuildID(ctx context.Context, guildID string) ([]entity.Queue, error)
	Add(ctx context.Context, data entity.Queue) error
	DeleteByGuildID(ctx context.Context, guildID string) error
	DeleteByGuildIDAndOrders(ctx context.Context, guildID string, orders []int) error
}

Repository contains functions for queue domain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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