Documentation ¶
Index ¶
- func Register(registry *objects.Registry)
- type Component
- func (c *Component) InitializeConfig(cfg config.Settings) error
- func (c *Component) InitializeDaemon() error
- func (c *Component) MatchHTTP(r *http.Request) bool
- func (c *Component) RenderTemplate(w http.ResponseWriter, r *http.Request, tmpl string, ...)
- func (c *Component) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type Config
- type MenuItem
- type MenuProvider
- type PageHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Component ¶
type Component struct { Log log.DebugLogger `com:"singleton"` Auth auth.Requestor `com:"singleton"` MenuProviders []MenuProvider `com:"extpoint"` PageHandlers []PageHandler `com:"extpoint"` Views *jet.Set Config }
func (*Component) InitializeConfig ¶
func (*Component) InitializeDaemon ¶
func (*Component) RenderTemplate ¶
type MenuProvider ¶
type MenuProvider interface {
ConsoleMenuItems() []MenuItem
}
type PageHandler ¶
type PageHandler interface { MenuProvider web.Handler }
Click to show internal directories.
Click to hide internal directories.