handler

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAPIKey added in v0.4.0

func AddAPIKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func AddServiceKey added in v0.4.0

func AddServiceKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func ChangePassword added in v0.4.0

func ChangePassword(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func DeleteAPIKey added in v0.4.0

func DeleteAPIKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func DeleteServiceKey added in v0.4.0

func DeleteServiceKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetAPIKeys added in v0.4.0

func GetAPIKeys(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetHealth

func GetHealth(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetInfo

func GetInfo(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetLog

func GetLog(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetServiceKeys added in v0.4.0

func GetServiceKeys(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetTraceLog

func GetTraceLog(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetUsers added in v0.4.0

func GetUsers(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetValidationKey added in v0.6.0

func GetValidationKey(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func GetVersion

func GetVersion(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func Log

func Log(location string) (string, error)

func Login added in v0.0.2

func Login(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func MakeUpdate

func MakeUpdate(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func Refresh added in v0.0.5

func Refresh(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveArtistForUser added in v0.4.0

func RemoveArtistForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveEntityForUser added in v0.7.1

func RemoveEntityForUser(entity database.Entity, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveEventForUser added in v0.7.1

func RemoveEventForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveFestivalForUser added in v0.4.0

func RemoveFestivalForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveImageForUser added in v0.7.1

func RemoveImageForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveLinkForUser added in v0.7.1

func RemoveLinkForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveLocationForUser added in v0.4.0

func RemoveLocationForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemovePlaceForUser added in v0.7.1

func RemovePlaceForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func RemoveTagForUser added in v0.7.1

func RemoveTagForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetArtistForUser added in v0.4.0

func SetArtistForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetEntityForUser added in v0.7.1

func SetEntityForUser(entity database.Entity, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetEventForUser added in v0.7.1

func SetEventForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetFestivalForUser added in v0.4.0

func SetFestivalForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetImageForUser added in v0.7.1

func SetImageForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetLinkForUser added in v0.7.1

func SetLinkForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetLocationForUser added in v0.4.0

func SetLocationForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetPlaceForUser added in v0.7.1

func SetPlaceForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetTagForUser added in v0.7.1

func SetTagForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SetUserRole added in v0.4.0

func SetUserRole(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func Signup added in v0.0.2

func Signup(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)

func SuspendUser added in v0.4.0

func SuspendUser(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func UpdateAPIKey added in v0.4.0

func UpdateAPIKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

func UpdateServiceKey added in v0.4.0

func UpdateServiceKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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