Documentation ¶
Index ¶
- Constants
- type CFeature
- func (f *CFeature) Build(b feature.Buildable) (err error)
- func (f *CFeature) HandleUserManager(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) Init(this interface{})
- func (f *CFeature) Make() (feat Feature)
- func (f *CFeature) RenderUserManager(w http.ResponseWriter, r *http.Request)
- func (f *CFeature) RouteSiteFeature(r chi.Router)
- func (f *CFeature) SetupSiteFeature(s feature.Site) (err error)
- func (f *CFeature) SiteFeatureMenu(r *http.Request) (m menu.Menu)
- func (f *CFeature) Startup(ctx *cli.Context) (err error)
- func (f *CFeature) UserActions() (actions feature.Actions)
- type Feature
- type MakeFeature
Constants ¶
View Source
const ( UserManagerNonceName = "user-manager-nonce" UserManagerNonceKey = "user-manager-form" )
View Source
const Tag feature.Tag = "site-user-manager"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFeature ¶
type CFeature struct { site.CSiteFeature[MakeFeature] }
func (*CFeature) HandleUserManager ¶
func (f *CFeature) HandleUserManager(w http.ResponseWriter, r *http.Request)
func (*CFeature) RenderUserManager ¶
func (f *CFeature) RenderUserManager(w http.ResponseWriter, r *http.Request)
func (*CFeature) RouteSiteFeature ¶
func (f *CFeature) RouteSiteFeature(r chi.Router)
func (*CFeature) SetupSiteFeature ¶ added in v0.5.5
func (*CFeature) SiteFeatureMenu ¶
func (*CFeature) UserActions ¶
type Feature ¶
type Feature interface { feature.SiteFeature }
type MakeFeature ¶
type MakeFeature interface { feature.SiteMakeFeature[MakeFeature] Make() Feature }
func New ¶
func New() MakeFeature
func NewTagged ¶
func NewTagged(tag feature.Tag) MakeFeature
Source Files ¶
Click to show internal directories.
Click to hide internal directories.