constant

package
Version: v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LibName        = "malkeeper"
	RedisFound     = "redis key found"
	RedisSave      = "save to redis"
	CheckExist     = "check if data exists"
	FillData       = "filling table data"
	SkipEmpty      = "skip empty entry"
	SkipExist      = "skip existing entry"
	EmptyEntry     = "empty MyAnimeList entry"
	SettingDetails = "setting details"
	AnimeType      = "anime"
	MangaType      = "manga"
	CharacterType  = "character"
	PeopleType     = "people"
	UserType       = "user"
)

List of common string message for logging and queue.

View Source
const (
	AnimeWatching    = "watching"
	AnimeCompleted   = "completed"
	AnimeOnHold      = "on-hold"
	AnimeDropped     = "dropped"
	AnimePlanToWatch = "plan_to_watch"
	MangaReading     = "reading"
	MangaCompleted   = "completed"
	MangaOnHold      = "on-hold"
	MangaDropped     = "dropped"
	MangaPlanToRead  = "plan_to_read"
	Total            = "total"
	Current          = 1
	Completed        = 2
	OnHold           = 3
	Dropped          = 4
	Planned          = 6
)

Anime & manga stats summary keys.

View Source
const (
	RedisGetAnime            = "mal:2:anime"
	RedisGetAnimeCharacter   = "mal:2:anime-character"
	RedisGetAnimeStaff       = "mal:2:anime-staff"
	RedisGetAnimeStats       = "mal:2:anime-stats"
	RedisGetManga            = "mal:2:manga"
	RedisGetMangaCharacter   = "mal:2:manga-character"
	RedisGetMangaStats       = "mal:2:manga-stats"
	RedisGetCharacter        = "mal:2:character"
	RedisGetCharacterAnime   = "mal:2:character-anime"
	RedisGetCharacterManga   = "mal:2:character-manga"
	RedisGetCharacterVA      = "mal:2:character-va"
	RedisGetPeople           = "mal:2:people"
	RedisGetPeopleVA         = "mal:2:people-va"
	RedisGetPeopleStaff      = "mal:2:people-staff"
	RedisGetPeopleManga      = "mal:2:people-manga"
	RedisGetTopAnime         = "mal:2:top-anime"
	RedisGetTopManga         = "mal:2:top-manga"
	RedisGetTopCharacter     = "mal:2:top-character"
	RedisGetTopPeople        = "mal:2:top-people"
	RedisGetSeasonal         = "mal:2:seasonal"
	RedisGetMainTotal        = "mal:2:main-total"
	RedisGetYearScore        = "mal:2:year-score"
	RedisGetProducerMagazine = "mal:2:producer-magazine"
	RedisGetProducer         = "mal:2:producer"
	RedisGetMagazine         = "mal:2:magazine"
	RedisGetUser             = "mal:2:user"
	RedisGetUserAnime        = "mal:2:user-anime"
	RedisGetUserManga        = "mal:2:user-manga"
	RedisGetUserStats        = "mal:2:user-stats"
	RedisGetUserScore        = "mal:2:user-score"
	RedisGetUserType         = "mal:2:user-type"
	RedisGetUserGenre        = "mal:2:user-genre"
	RedisGetUserStudio       = "mal:2:user-studio"
	RedisGetUserAuthor       = "mal:2:user-author"
	RedisGetUserProgress     = "mal:2:user-progress"
	RedisGetUserYear         = "mal:2:user-year"
)

List of redis key used in malkeeper.

Variables

View Source
var DateFormat = "2006-01-02"

DateFormat is converted date format from time.Time.

MainType is list of available entry types.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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