Documentation ¶
Index ¶
- Constants
- Variables
- type CFeature
- func (f *CFeature) DraftExists(info *feature.EditorFile) (present bool)
- func (f *CFeature) EditorMenu(r *http.Request) (m menu.Menu)
- func (f *CFeature) FileExists(info *feature.EditorFile) (exists bool)
- func (f *CFeature) Init(this interface{})
- func (f *CFeature) IsEditorFileLocked(fsid, filePath string) (eid string, locked bool)
- func (f *CFeature) ListFileSystemDirectories(r *http.Request, fsid, code, dirs string) (list feature.EditorFiles)
- func (f *CFeature) ListFileSystemFiles(r *http.Request, fsid, code, dirs string) (list feature.EditorFiles)
- func (f *CFeature) ListFileSystemLocales(fsid string) (list feature.EditorFiles)
- func (f *CFeature) ListFileSystems() (list feature.EditorFiles)
- func (f *CFeature) LockEditorFile(eid, fsid, filePath string) (err error)
- func (f *CFeature) Make() (feat Feature)
- func (f *CFeature) PrepareEditableFile(r *http.Request, info *feature.EditorFile) (editFile *feature.EditorFile)
- func (f *CFeature) PrepareRenderFileEditor(w http.ResponseWriter, r *http.Request) (pg feature.Page, ctx context.Context, info *feature.EditorFile, ...)
- func (f *CFeature) ProcessMountPointFile(r *http.Request, printer *message.Printer, ...) (ef *feature.EditorFile, ignored bool)
- func (f *CFeature) PublishDraft(info *feature.EditorFile) (err error)
- func (f *CFeature) ReadDraft(info *feature.EditorFile) (contents []byte, err error)
- func (f *CFeature) ReadDraftMatter(info *feature.EditorFile) (pm *matter.PageMatter, err error)
- func (f *CFeature) ReadFile(info *feature.EditorFile) (data []byte, err error)
- func (f *CFeature) ReceiveFileEditorChanges(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) RemoveDirectory(info *feature.EditorFile) (err error)
- func (f *CFeature) RemoveDraft(info *feature.EditorFile) (err error)
- func (f *CFeature) RemoveFile(info *feature.EditorFile) (err error)
- func (f *CFeature) RenderFileBrowser(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) RenderFileEditor(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) SiteFeatureMenu(r *http.Request) (m menu.Menu)
- func (f *CFeature) Startup(ctx *cli.Context) (err error)
- func (f *CFeature) UnLockEditorFile(fsid, filePath string) (err error)
- func (f *CFeature) WriteDraft(info *feature.EditorFile, contents []byte) (err error)
- func (f *CFeature) WriteFile(info *feature.EditorFile, data []byte) (err error)
- type Feature
- type MakeFeature
Constants ¶
View Source
const Tag feature.Tag = "fs-editor-themes"
Variables ¶
View Source
var ( DefaultEditorType = "theme" DefaultEditorKey = "themes" )
Functions ¶
This section is empty.
Types ¶
type CFeature ¶
type CFeature struct { fs_editor.CEditorFeature[MakeFeature] }
func (*CFeature) DraftExists ¶
func (f *CFeature) DraftExists(info *feature.EditorFile) (present bool)
func (*CFeature) FileExists ¶
func (f *CFeature) FileExists(info *feature.EditorFile) (exists bool)
func (*CFeature) IsEditorFileLocked ¶
func (*CFeature) ListFileSystemDirectories ¶
func (*CFeature) ListFileSystemFiles ¶
func (*CFeature) ListFileSystemLocales ¶
func (f *CFeature) ListFileSystemLocales(fsid string) (list feature.EditorFiles)
func (*CFeature) ListFileSystems ¶
func (f *CFeature) ListFileSystems() (list feature.EditorFiles)
func (*CFeature) LockEditorFile ¶
func (*CFeature) PrepareEditableFile ¶
func (f *CFeature) PrepareEditableFile(r *http.Request, info *feature.EditorFile) (editFile *feature.EditorFile)
func (*CFeature) PrepareRenderFileEditor ¶
func (*CFeature) ProcessMountPointFile ¶
func (*CFeature) PublishDraft ¶
func (f *CFeature) PublishDraft(info *feature.EditorFile) (err error)
func (*CFeature) ReadDraft ¶
func (f *CFeature) ReadDraft(info *feature.EditorFile) (contents []byte, err error)
func (*CFeature) ReadDraftMatter ¶
func (f *CFeature) ReadDraftMatter(info *feature.EditorFile) (pm *matter.PageMatter, err error)
func (*CFeature) ReadFile ¶
func (f *CFeature) ReadFile(info *feature.EditorFile) (data []byte, err error)
func (*CFeature) ReceiveFileEditorChanges ¶
func (f *CFeature) ReceiveFileEditorChanges(w http.ResponseWriter, r *http.Request)
func (*CFeature) RemoveDirectory ¶
func (f *CFeature) RemoveDirectory(info *feature.EditorFile) (err error)
func (*CFeature) RemoveDraft ¶
func (f *CFeature) RemoveDraft(info *feature.EditorFile) (err error)
func (*CFeature) RemoveFile ¶
func (f *CFeature) RemoveFile(info *feature.EditorFile) (err error)
func (*CFeature) RenderFileBrowser ¶
func (f *CFeature) RenderFileBrowser(w http.ResponseWriter, r *http.Request)
func (*CFeature) RenderFileEditor ¶
func (f *CFeature) RenderFileEditor(w http.ResponseWriter, r *http.Request)
func (*CFeature) SiteFeatureMenu ¶
func (*CFeature) UnLockEditorFile ¶
func (*CFeature) WriteDraft ¶
func (f *CFeature) WriteDraft(info *feature.EditorFile, contents []byte) (err error)
type Feature ¶
type Feature interface { feature.EditorFeature }
type MakeFeature ¶
type MakeFeature interface { feature.EditorMakeFeature[MakeFeature] Make() Feature }
func New ¶
func New() MakeFeature
func NewTagged ¶
func NewTagged(tag feature.Tag) MakeFeature
Click to show internal directories.
Click to hide internal directories.