Documentation ¶
Index ¶
- func AddToExperiences(username string, auth accounts.Authentication, ...) error
- func AddToWantlist(username string, auth accounts.Authentication, ...) error
- func DoLogin(username, password, sfa string, remember bool) (string, error)
- func DoSignup(username, password, passwordConfirm string, sfaEnabled bool, ...) (string, error)
- func MakeAdmin(username string) error
- func PerformSearch(query, language, mimetype, page string, auth accounts.Authentication) (string, error)
- func SessionDelete(username string, auth accounts.Authentication, ...) error
- func ShowAbout(language, mimetype string, auth accounts.Authentication) (string, error)
- func ShowBook(id, language, mimetype string, auth accounts.Authentication) (string, error)
- func ShowBookSerie(id, language, mimetype string, auth accounts.Authentication) (string, error)
- func ShowErrorPage(code int, language, mimetype string) (string, error)
- func ShowExperiences(username string, auth accounts.Authentication, ...) (string, error)
- func ShowFilm(id, language, mimetype string, auth accounts.Authentication) (string, error)
- func ShowIndex(language, mimetype string, authentication accounts.Authentication) (string, error)
- func ShowLoggedOut(languages, mimetype string) (string, error)
- func ShowLogin(language, mimetype string, authErr *accounts.AuthError, target string) (string, error)
- func ShowPerson(id, etag, language, mimetype string, auth accounts.Authentication) (string, error)
- func ShowReadlist(username string, auth accounts.Authentication, ...) (string, error)
- func ShowSignedup(acceptLanguages, mimetype, recoveryCodes string) (string, error)
- func ShowSignup(acceptLanguages, mimetype string, err error, sfaEnabled bool, ...) (string, error)
- func ShowTvQueue(username string, auth accounts.Authentication, ...) (string, error)
- func ShowTvSerie(id, etag, language, mimetype string, auth accounts.Authentication) (string, error)
- func ShowWatchlist(username string, auth accounts.Authentication, ...) (string, error)
- func TouchWantlist() error
- func VerifyAuthToken(token accounts.Authentication) (accounts.User, error)
- type Avatar
- type Data
- type QueryData
- type RequestData
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToExperiences ¶ added in v0.3.0
func AddToExperiences(username string, auth accounts.Authentication, itemId, itemType, datetime, language, mimetype string) error
func AddToWantlist ¶ added in v0.3.0
func AddToWantlist(username string, auth accounts.Authentication, itemId, itemType, language, mimetype string) error
func PerformSearch ¶
func PerformSearch(query, language, mimetype, page string, auth accounts.Authentication) (string, error)
func SessionDelete ¶ added in v0.3.0
func SessionDelete(username string, auth accounts.Authentication, session, languages, mimetype string) error
func ShowAbout ¶
func ShowAbout(language, mimetype string, auth accounts.Authentication) (string, error)
func ShowBook ¶ added in v0.2.0
func ShowBook(id, language, mimetype string, auth accounts.Authentication) (string, error)
func ShowBookSerie ¶ added in v0.2.0
func ShowBookSerie(id, language, mimetype string, auth accounts.Authentication) (string, error)
func ShowExperiences ¶ added in v0.3.0
func ShowFilm ¶
func ShowFilm(id, language, mimetype string, auth accounts.Authentication) (string, error)
func ShowIndex ¶
func ShowIndex(language, mimetype string, authentication accounts.Authentication) (string, error)
func ShowLoggedOut ¶ added in v0.3.0
func ShowPerson ¶
func ShowPerson(id, etag, language, mimetype string, auth accounts.Authentication) (string, error)
func ShowReadlist ¶ added in v0.4.0
func ShowSignedup ¶ added in v0.3.0
func ShowSignup ¶ added in v0.3.0
func ShowTvQueue ¶ added in v0.3.0
func ShowTvSerie ¶ added in v0.2.0
func ShowTvSerie(id, etag, language, mimetype string, auth accounts.Authentication) (string, error)
func ShowWatchlist ¶ added in v0.3.0
func TouchWantlist ¶ added in v0.4.0
func TouchWantlist() error
func VerifyAuthToken ¶ added in v0.3.0
func VerifyAuthToken(token accounts.Authentication) (accounts.User, error)
Types ¶
type Avatar ¶ added in v0.3.0
func ShowUserAvatar ¶ added in v0.3.0
type QueryData ¶ added in v0.2.0
type QueryData struct {
// contains filtered or unexported fields
}
type RequestData ¶ added in v0.2.0
type RequestData struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.