Documentation ¶
Index ¶
- func AddAPIKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func AddServiceKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func ChangePassword(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func DeleteAPIKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func DeleteServiceKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func GetAPIKeys(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func GetHealth(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func GetInfo(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func GetLog(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func GetServiceKeys(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func GetTraceLog(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func GetUsers(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func GetValidationKey(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func GetVersion(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func Log(location string) (string, error)
- func Login(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func MakeUpdate(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func Refresh(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func RemoveArtistForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveEntityForUser(entity database.Entity, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveEventForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveFestivalForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveImageForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveLinkForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveLocationForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemovePlaceForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func RemoveTagForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetArtistForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetEntityForUser(entity database.Entity, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetEventForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetFestivalForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetImageForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetLinkForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetLocationForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetPlaceForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetTagForUser(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SetUserRole(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func Signup(auth *token.AuthService, db *sql.DB, w http.ResponseWriter, r *http.Request)
- func SuspendUser(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func UpdateAPIKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
- func UpdateServiceKey(auth *token.AuthService, claims *token.UserClaims, db *sql.DB, ...)
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 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 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 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.
Click to show internal directories.
Click to hide internal directories.