Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { GetList(ctx context.Context, guildID string) []entity.Song IsEmpty(ctx context.Context, guildID string) bool Add(ctx context.Context, guildID string, data entity.Song) error Remove(ctx context.Context, guildID string, i ...int) error Purge(ctx context.Context, guildID string) error GetIndex(ctx context.Context, guildID string) int SetIndex(ctx context.Context, guildID string, i int) error }
Repository contains functions for queue domain.
Click to show internal directories.
Click to hide internal directories.