libamuse

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

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 DoLogin added in v0.3.0

func DoLogin(username, password, sfa string, remember bool) (string, error)

func DoSignup added in v0.3.0

func DoSignup(username, password, passwordConfirm string, sfaEnabled bool, sfaSecret, sfa string) (string, error)

func MakeAdmin added in v0.3.0

func MakeAdmin(username 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 ShowErrorPage

func ShowErrorPage(code int, language, mimetype string) (string, error)

func ShowExperiences added in v0.3.0

func ShowExperiences(username string, auth accounts.Authentication, languages, mimetype, filter string, page int) (string, error)

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 ShowLoggedOut(languages, mimetype string) (string, error)

func ShowLogin added in v0.3.0

func ShowLogin(language, mimetype string, authErr *accounts.AuthError, target string) (string, error)

func ShowPerson

func ShowPerson(id, etag, language, mimetype string, auth accounts.Authentication) (string, error)

func ShowReadlist added in v0.4.0

func ShowReadlist(username string, auth accounts.Authentication, languages, mimetype, filter string, page int) (string, error)

func ShowSignedup added in v0.3.0

func ShowSignedup(acceptLanguages, mimetype, recoveryCodes string) (string, error)

func ShowSignup added in v0.3.0

func ShowSignup(acceptLanguages, mimetype string, err error, sfaEnabled bool, sfaSecret, username, host string) (string, error)

func ShowTvQueue added in v0.3.0

func ShowTvQueue(username string, auth accounts.Authentication, languages, mimetype, filter string, page int) (string, error)

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 ShowWatchlist(username string, auth accounts.Authentication, languages, mimetype, filter string, page int) (string, error)

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

type Avatar struct {
	Data     []byte
	Mimetype string
	Etag     string
}

func ShowUserAvatar added in v0.3.0

func ShowUserAvatar(username, etagReq string, auth accounts.Authentication, small bool) (Avatar, error)

type Data added in v0.2.0

type Data interface {
	// contains filtered or unexported methods
}

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
}

type Result added in v0.2.0

type Result struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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