site

package
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseTag feature.Tag = "site-feature"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CSiteFeature

type CSiteFeature[M interface{}] struct {
	feature.CFeature
	signaling.CSignaling
	uses_actions.CUsesActions

	IncludeSitePathNameFlag bool
	// contains filtered or unexported fields
}

func (*CSiteFeature[M]) Build

func (f *CSiteFeature[M]) Build(b feature.Buildable) (err error)

func (*CSiteFeature[M]) Construct

func (f *CSiteFeature[M]) Construct(this interface{})

func (*CSiteFeature[M]) Init

func (f *CSiteFeature[M]) Init(this interface{})

func (*CSiteFeature[M]) IsBackupProvider

func (f *CSiteFeature[M]) IsBackupProvider() (backup bool)

func (*CSiteFeature[M]) RouteSiteFeature

func (f *CSiteFeature[M]) RouteSiteFeature(r chi.Router)

func (*CSiteFeature[M]) SelfFeature

func (f *CSiteFeature[M]) SelfFeature() (self feature.SiteFeature)

func (*CSiteFeature[M]) SetSiteFeatureIcon

func (f *CSiteFeature[M]) SetSiteFeatureIcon(icon string) M

func (*CSiteFeature[M]) SetSiteFeatureKey

func (f *CSiteFeature[M]) SetSiteFeatureKey(kebab string) M

func (*CSiteFeature[M]) SetSiteFeatureLabel

func (f *CSiteFeature[M]) SetSiteFeatureLabel(fn feature.SiteFeatureLabelFn) M

func (*CSiteFeature[M]) SetSiteFeatureTheme

func (f *CSiteFeature[M]) SetSiteFeatureTheme(name string) M

func (*CSiteFeature[M]) SetupSiteFeature

func (f *CSiteFeature[M]) SetupSiteFeature(s feature.Site) (err error)

func (*CSiteFeature[M]) Shutdown

func (f *CSiteFeature[M]) Shutdown()

func (*CSiteFeature[M]) Site

func (f *CSiteFeature[M]) Site() (s feature.Site)

func (*CSiteFeature[M]) SiteFeatureIcon

func (f *CSiteFeature[M]) SiteFeatureIcon() (icon string)

func (*CSiteFeature[M]) SiteFeatureInfo

func (f *CSiteFeature[M]) SiteFeatureInfo(r *http.Request) (info *feature.CSiteFeatureInfo)

func (*CSiteFeature[M]) SiteFeatureKey

func (f *CSiteFeature[M]) SiteFeatureKey() (name string)

func (*CSiteFeature[M]) SiteFeatureLabel

func (f *CSiteFeature[M]) SiteFeatureLabel(printer *message.Printer) (label string)

func (*CSiteFeature[M]) SiteFeatureMenu

func (f *CSiteFeature[M]) SiteFeatureMenu(r *http.Request) (m menu.Menu)

func (*CSiteFeature[M]) SiteFeaturePath

func (f *CSiteFeature[M]) SiteFeaturePath() (path string)

func (*CSiteFeature[M]) SiteFeatureTheme

func (f *CSiteFeature[M]) SiteFeatureTheme() (t feature.Theme)

func (*CSiteFeature[M]) SiteSettingsFields

func (f *CSiteFeature[M]) SiteSettingsFields(r *http.Request) (fields beContext.Fields)

func (*CSiteFeature[M]) SiteSettingsPanel

func (f *CSiteFeature[M]) SiteSettingsPanel(settingsPath string) (serve, handle http.HandlerFunc)

func (*CSiteFeature[M]) Startup

func (f *CSiteFeature[M]) Startup(ctx *cli.Context) (err error)

func (*CSiteFeature[M]) UserActions

func (f *CSiteFeature[M]) UserActions() (actions feature.Actions)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL