package
Version:
v2.0.0-beta1+incompatible
Opens a new window with list of versions in this module.
Published: Mar 30, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
SESS_KEY_USERID = "uid"
SESS_KEY_FAVORITES = "favorites"
)
Logger returns a middleware handler that logs the request as it goes in and the response as it goes out.
type AuthOptions struct {
ReqGrafanaAdmin bool
ReqSignedIn bool
}
func (*Context) Handle ¶
Handle handles and logs error by given status.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.