Documentation ¶
Index ¶
Constants ¶
View Source
const ( IndexOutOfRange = "index out of range" )
errors
View Source
const ( SuccessCreated = "success created" SuccessUpdated = "success updated" SuccessDeleted = "success deleted" SuccessAdded = "success added" ToPlaylist = "to playlist" SuccessRemoved = "success removed" FromPlaylist = "from playlist" SuccessLiked = "success liked" SuccessListened = "success listened" SuccessAddedToFavorites = "success added to favorites" SuccessRemoveFromFavorites = "success remove from favorites" )
success
View Source
const ( PlaylistId = "playlistId" TrackId = "trackId" )
query
View Source
const ( FieldId = "id" FieldToFind = "toFind" Hash = "hash" )
album fields
View Source
const ( AssetsPrefix = "assets/" AlbumPreName = "album_" ArtistPreName = "artist_" TrackPreName = "track_" Top = 20 SearchTop = 5 )
others
View Source
const ( ImgFormat = ".webp" Mp3Format = ".mp3" )
formats
View Source
const (
ErrorNothingToUpdate = "nothing to update (check id)"
)
db errors
View Source
const (
Grpc = "gRPC"
)
clients
View Source
const (
Postgres = "postgres"
)
db types
View Source
const (
SessionIdKey = "session_id"
)
auth
View Source
const (
Tcp = "tcp"
)
network
Variables ¶
This section is empty.
Functions ¶
func GetIdInt64ByFieldId ¶
func GetUserId ¶
func GetUserId(ctx echo.Context, userUseCase user_domain.UserUseCase) (int64, error)
func UnauthorizedError ¶
func UnauthorizedError(ctx echo.Context) error
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
album
|
|
albumCover
|
|
artist
|
|
gateway
|
|
linker
|
|
microservices
|
|
playlist
|
|
tools
|
|
track
|
|
Click to show internal directories.
Click to hide internal directories.