Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FrontServer ¶
type FrontServer struct { Ctx context.Context Config *config.Config ApiSchema string ApiAddr string Mux *http.ServeMux Templates []string Registered []string PageData map[string]interface{} }
func (*FrontServer) HasHomepage ¶
func (svr *FrontServer) HasHomepage() bool
func (*FrontServer) RedirectPage ¶ added in v1.9.2
func (svr *FrontServer) RedirectPage(origin string, destination string)
func (*FrontServer) Register ¶
func (svr *FrontServer) Register()
func (*FrontServer) RegisterPage ¶
func (svr *FrontServer) RegisterPage(uri string, navItem *nav.Nav)
Click to show internal directories.
Click to hide internal directories.