Documentation
¶
Index ¶
Constants ¶
View Source
const APIEndpoint = "https://notify.moe/api/"
APIEndpoint API endpoint for notify moe
View Source
const APIEndpointAnime = APIEndpoint + "anime/"
APIEndpointAnime endpoint to anime
View Source
const APIEndpointAnimeList = APIEndpoint + "animelist/"
APIEndpointAnimeList endpoint to animelist
View Source
const APIEndpointEpisode = APIEndpoint + "episode/"
APIEndpointEpisode endpoint to episode
View Source
const APIEndpointNickToUser = APIEndpoint + "nicktouser/"
APIEndpointNickToUser endpoint to nicktouser
View Source
const AnimeListItemStatusWatching = "watching"
AnimeListItemStatusWatching watching status string
View Source
const AnimeStatusCurrent = "current"
AnimeStatusCurrent current status string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anime ¶
type Anime struct {
Title AnimeTitle
Status string
Episode int
Episodes []string
}
Anime from notify moe api
type AnimeWithEpisode ¶
AnimeWithEpisode custom helper struct, wrapping episode around an Anime struct
type AnimelistItem ¶
AnimelistItem from notify moe api
type NotifyMoeService ¶
type NotifyMoeService interface {
FetchCurrentlyWatchingAndAiringAnimes() ([]config.StateItem, error)
}
NotifyMoeService api
func NewNotifyMoeService ¶
func NewNotifyMoeService(configSvc config.ConfigurationService) NotifyMoeService
NewNotifyMoeService creates a new NotifyMoeService
Click to show internal directories.
Click to hide internal directories.