package
0.0.0-20250324214737-24df0a4137c7
Repository: https://github.com/r-a-dio/valkyrie.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
Collect collects all the values in seq in a slice, if an error is encountered it returns (nil, err) instead.
Connect connects to the database configured in cfg.
ConnectDB connects to the configured mariadb instance and returns the raw database object.
Each calls function fn for every item in seq aslong as err == nil.
No description provided by the author
No description provided by the author
No description provided by the author
Select is like sqlx.Select except with generics and only support for struct destination.
SelectIter is like Select but returns an iterator instead.
No description provided by the author

# Constants

FavePriorityIncrement is the amount we increase/decrease priority by on a track when it gets favorited/unfavorited.
No description provided by the author
No description provided by the author
RequestCountIncrement is the amount we increase requestcount by when a track gets requested.
No description provided by the author
RequestPriorityIncremenet is the amount we increase priority by when a track gets requested.
No description provided by the author
input: SessionDeleteParams.
input: SessionGetParams output: radio.Session.
input: radio.Session.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewsStorage implements radio.NewsStorage.
No description provided by the author
QueueStorage is a radio.QueueStorage backed by a sql database.
No description provided by the author
RelayStorage implements radio.RelayStorage.
No description provided by the author
RequestStorage implements radio.RequestStorage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SessionStorage implements radio.SessionStorage.
SongStorage implements radio.SongStorage.
No description provided by the author
StorageService implements radio.StorageService with a sql database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SubmissionStorage implements radio.SubmissionStorage.
No description provided by the author
TrackStorage implements radio.TrackStorage.
UserStorage implements radio.UserStorage.