constant

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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"
)

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   = "commpleted"
	MangaOnHold      = "on-hold"
	MangaDropped     = "dropped"
	MangaPlanToRead  = "plan_to_read"
	Total            = "total"
)

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"
	RedisGetPeople         = "mal:2:people"
)

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