Documentation ¶
Overview ¶
Package user implements model of bucket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Admin = &Role{"admin", ^uint(0)}
View Source
var Guest = &Role{"guest", 0}
View Source
var Redirects = map[*Role]string{ Guest: "/", Admin: "/admin", }
View Source
var Roles = []*Role{ Guest, Admin, }
Functions ¶
func SetRedirectsForRoles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.