Documentation ¶
Index ¶
- Variables
- func AgentApiAuth(next http.Handler) http.Handler
- func AgentAuth(next http.Handler) http.Handler
- func ApiAuth(next http.Handler) http.Handler
- func ApiPermissionManageTemplates(next http.Handler) http.Handler
- func ApiPermissionManageUsers(next http.Handler) http.Handler
- func ApiPermissionManageUsersOrSelf(next http.Handler) http.Handler
- func ApiPermissionManageVolumes(next http.Handler) http.Handler
- func DeleteSessionCookie(w http.ResponseWriter)
- func GetSessionFromCookie(r *http.Request) *model.Session
- func Initialize()
- func WebAuth(next http.Handler) http.Handler
- type ErrorResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AgentSpaceKey string ServerURL string )
View Source
var (
HasUsers bool
)
Functions ¶
func DeleteSessionCookie ¶
func DeleteSessionCookie(w http.ResponseWriter)
func Initialize ¶
func Initialize()
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.