Versions in this module Expand all Collapse all v0 v0.1.0 Feb 20, 2020 Changes in this version + const CategoryTypeImage + const CategoryTypeModel + const CategoryTypePage + type Category struct + Created *time.Time + CreatedHTTP string + File string + ImageInfo ... + Modified *time.Time + ModifiedHTTP string + Name string + PageInfo *wikifier.PageInfo + Pages map[string]CategoryEntry + Path string + Preserve bool + Title string + Type CategoryType + func (cat *Category) AddPage(w *Wiki, page *wikifier.Page) + func (cat *Category) Exists() bool + type CategoryEntry struct + Asof *time.Time + Dimensions [][]int + Lines []int + type CategoryInfo struct + Created *time.Time + File string + Modified *time.Time + type CategoryType string + type DisplayCategoryPosts struct + CSS string + NumPages int + PageN int + Pages []DisplayPage + type DisplayError struct + DetailedError string + Draft bool + Error string + ParseError bool + Status int + type DisplayFile struct + Content string + File string + Modified *time.Time + Path string + type DisplayImage struct + CacheGenerated bool + File string + FromCache bool + FullsizePath string + Generated bool + ImageType string + Length int64 + Mime string + Modified *time.Time + ModifiedHTTP string + Path string + type DisplayPage struct + Author string + CSS string + CacheGenerated bool + Categories []string + Content wikifier.HTML + Created *time.Time + CreatedHTTP string + Draft bool + File string + FmtTitle wikifier.HTML + FromCache bool + Generated bool + Modified *time.Time + ModifiedHTTP string + Name string + Path string + TextGenerated bool + Title string + Warnings []string + type DisplayRedirect struct + Redirect string + type ImageInfo struct + Created *time.Time + Dimensions [][]int + File string + Height int + Modified *time.Time + Width int + type ModelInfo struct + Created *time.Time + File string + Modified *time.Time + Path string + type SizedImage struct + Ext string + Height int + Name string + Scale int + Width int + func SizedImageFromName(name string) SizedImage + func (img SizedImage) FullName() string + func (img SizedImage) FullNameNE() string + func (img SizedImage) FullSizeName() string + func (img SizedImage) ScaleName() string + func (img SizedImage) TrueHeight() int + func (img SizedImage) TrueWidth() int + type Wiki struct + Auth *authenticator.Authenticator + ConfigFile string + Opt wikifier.PageOpt + PrivateConfigFile string + func NewWiki(conf, privateConf string) (*Wiki, error) + func (w *Wiki) Branches() ([]string, error) + func (w *Wiki) Categories() []CategoryInfo + func (w *Wiki) CategoryInfo(name string) (info CategoryInfo) + func (w *Wiki) CategoryMap() map[string]CategoryInfo + func (w *Wiki) DisplayCategoryPosts(catName string, pageN int) interface{} + func (w *Wiki) DisplayFile(path string) interface{} + func (w *Wiki) DisplayImage(name string) interface{} + func (w *Wiki) DisplayPage(name string) interface{} + func (w *Wiki) DisplayPageDraft(name string, draftOK bool) interface{} + func (w *Wiki) DisplaySizedImage(img SizedImage) interface{} + func (w *Wiki) DisplaySizedImageGenerate(img SizedImage, generateOK bool) interface{} + func (w *Wiki) FindPage(name string) (p *wikifier.Page) + func (w *Wiki) GetCategory(name string) *Category + func (w *Wiki) GetSpecialCategory(name string, typ CategoryType) *Category + func (w *Wiki) ImageInfo(name string) (info ImageInfo) + func (w *Wiki) ImageMap() map[string]ImageInfo + func (w *Wiki) Images() []ImageInfo + func (w *Wiki) ModelInfo(name string) (info ModelInfo) + func (w *Wiki) ModelMap() map[string]ModelInfo + func (w *Wiki) Models() []ModelInfo + func (w *Wiki) PageInfo(name string) (info wikifier.PageInfo) + func (w *Wiki) PageMap() map[string]wikifier.PageInfo + func (w *Wiki) Pages() []wikifier.PageInfo + func (w *Wiki) Pregenerate()