Documentation ¶
Index ¶
- Variables
- func Err(t ITemplate, o IExtend) func(w http.ResponseWriter, err error) bool
- func Forbidden(w http.ResponseWriter, _ *http.Request)
- func ForbiddenScan(sub *mux.Router, paths []string)
- func Home(T ITemplate, o *cms.Options) func(http.ResponseWriter, *http.Request)
- func HomeSearch(S *store.Store, T ITemplate, o *cms.Options) func(http.ResponseWriter, *http.Request)
- func Invite(s *store.Store, T ITemplate, o *cms.Options) func(http.ResponseWriter, *http.Request)
- func InvitePOST(s *store.Store, T ITemplate, o *cms.Options) func(http.ResponseWriter, *http.Request)
- func Logger(h http.HandlerFunc) http.HandlerFunc
- func LoggingMiddleware(next http.Handler) http.Handler
- func LoggingMiddlewareDB(s *store.Store, o *cms.Options) func(next http.Handler) http.Handler
- func Login(s *store.Store, T ITemplate, o *cms.Options) func(http.ResponseWriter, *http.Request)
- func NewSkipper(data interface{}) (s skip)
- func Page(T ITemplate, o cms.Options) func(w http.ResponseWriter, r *http.Request)
- func ReadUserIP(r *http.Request) string
- func WellKnown(r *mux.Router)
- func WikiPage(t ITemplate, s *store.Store, o *cms.Options) func(w http.ResponseWriter, r *http.Request)
- type BasicAuthFunc
- type IExtend
- type IStore
- type ITemplate
- type IUser
Constants ¶
This section is empty.
Variables ¶
View Source
var VALUES = []byte("wiki_values")
View Source
var WIKI = []byte("wiki_pages")
Functions ¶
func ForbiddenScan ¶ added in v0.0.14
func HomeSearch ¶
func InvitePOST ¶ added in v0.1.1
func Logger ¶
func Logger(h http.HandlerFunc) http.HandlerFunc
func LoggingMiddlewareDB ¶ added in v0.0.7
func NewSkipper ¶ added in v0.0.7
func NewSkipper(data interface{}) (s skip)
func ReadUserIP ¶
Types ¶
type BasicAuthFunc ¶
type BasicAuthFunc func(h http.HandlerFunc, roles ...string) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.