Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelAuth ¶
type LevelAuth interface {
SetAuthLevel(w http.ResponseWriter, req *http.Request, level uint32) error
}
LevelAuth is an interface to support setting the auth level in a session
func NewLevelAuth ¶
func NewLevelAuth(ses sessions.Sessions) (LevelAuth, authrouter.CheckAuth)
NewLevelAuth returns a LevelAuth and a authrouter.CheckAuth
Click to show internal directories.
Click to hide internal directories.