Documentation ¶
Index ¶
- Constants
- func Init()
- type APIHandler
- func (h APIHandler) CreateRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) CreateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) DeleteRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) DeleteUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) GetRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) GetUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) ListPermission(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) Login(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) Logout(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) Profile(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) SearchRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) SearchUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) UpdatePassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) UpdateProfile(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) UpdateRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) UpdateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (h APIHandler) UpdateUserPassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
View Source
const NativeProvider = "native"
const SSOProvider = "sso"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIHandler ¶
func (APIHandler) CreateRole ¶
func (h APIHandler) CreateRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) CreateUser ¶
func (h APIHandler) CreateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) DeleteRole ¶
func (h APIHandler) DeleteRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) DeleteUser ¶
func (h APIHandler) DeleteUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) GetRole ¶
func (h APIHandler) GetRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) GetUser ¶
func (h APIHandler) GetUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) ListPermission ¶
func (h APIHandler) ListPermission(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) Login ¶
func (h APIHandler) Login(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) Logout ¶
func (h APIHandler) Logout(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) Profile ¶
func (h APIHandler) Profile(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) SearchRole ¶
func (h APIHandler) SearchRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) SearchUser ¶
func (h APIHandler) SearchUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) UpdatePassword ¶
func (h APIHandler) UpdatePassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) UpdateProfile ¶
func (h APIHandler) UpdateProfile(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) UpdateRole ¶
func (h APIHandler) UpdateRole(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) UpdateUser ¶
func (h APIHandler) UpdateUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func (APIHandler) UpdateUserPassword ¶
func (h APIHandler) UpdateUserPassword(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Click to show internal directories.
Click to hide internal directories.