Documentation ¶
Index ¶
- Constants
- func BasicHttpAuth(next http.Handler, roles ...string) http.Handler
- func ClearStaticContent()
- func IsNotModified(ifModifiedSince, lastModified string) bool
- func SetPassword(role string, pwd [32]byte)
- func SetStaticContent(path string, content []byte)
- func SetUsername(role string, usr [32]byte)
- func Static(next http.Handler) http.Handler
Constants ¶
View Source
const ( LastModifiedHeader = "Last-Modified" IfModifiedSinceHeader = "If-Modified-Since" )
Variables ¶
This section is empty.
Functions ¶
func ClearStaticContent ¶ added in v0.1.7
func ClearStaticContent()
func IsNotModified ¶ added in v0.1.8
func SetPassword ¶
func SetStaticContent ¶ added in v0.1.6
func SetUsername ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.