Documentation ¶
Index ¶
- Variables
- func Bucket(s *store.Store, path string, o cms.Options) http.HandlerFunc
- func BucketItem(s *store.Store, path string, o cms.Options) http.HandlerFunc
- func BucketItemUpdate(s *store.Store, path string, o cms.Options) http.HandlerFunc
- func Bucketer(store *store.Store, sub *mux.Router, ext string, Options *cms.Options)
- func Buckets(s *store.Store, path string, o cms.Options) http.HandlerFunc
- func Cancel() func(w http.ResponseWriter, r *http.Request)
- func Down(server *http.Server) func(w http.ResponseWriter, r *http.Request)
- func Editor(sub *mux.Router, ext string, Options *cms.Options)
- func Env(key string, def string) string
- func FileEdit(file string, o cms.Options) http.HandlerFunc
- func FileUpdate(file string, o cms.Options) http.HandlerFunc
- func FileUpload(localPath string, path string, o cms.Options) http.HandlerFunc
- func Files(localPath string, path string, o cms.Options) http.HandlerFunc
- func GetTemplate() *template.Template
- func HR(store *store.Store, sub *mux.Router, ext string, Options *cms.Options)
- func Imager(sub *mux.Router, ext string, Options *cms.Options)
- func Init()
- func IsContains(filter string, source string) bool
- func PathEdit(localPath string, webPath string, o cms.Options) http.HandlerFunc
- func PathUpdate(localPath string, webPath string, o cms.Options) http.HandlerFunc
- func Shut() func(w http.ResponseWriter, r *http.Request)
- func SortSize(source []FileInfo, Sort string)
- func Templater(sub *mux.Router, ext string, Options *cms.Options)
- func Users(s *store.Store, path string, o cms.Options) http.HandlerFunc
- func Visits(s *store.Store, path string, o cms.Options) http.HandlerFunc
- type Editables
- type FileInfo
- type ITemplate
- type Item
- type Visit
Constants ¶
This section is empty.
Variables ¶
View Source
var Editable = Editables{
"tmpl",
"js",
"css",
"md",
}
View Source
var INVITE_URL = "/invite"
View Source
var VISITS = []byte("visits")
Functions ¶
func BucketItem ¶
func BucketItemUpdate ¶
func FileUpdate ¶
func FileUpdate(file string, o cms.Options) http.HandlerFunc
func FileUpload ¶
func GetTemplate ¶ added in v0.0.5
func IsContains ¶ added in v0.0.11
func PathUpdate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.