Documentation ¶
Index ¶
Constants ¶
View Source
const SITE2_MANAGER_ID = "Site2Manager"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IndexAction ¶
func NewIndexAction ¶
func NewIndexAction() *IndexAction
func (*IndexAction) ServeHTTP ¶
func (self *IndexAction) ServeHTTP(w http.ResponseWriter, r *http.Request)
type PublicAction ¶
func NewPublicAction ¶
func NewPublicAction() *PublicAction
func (*PublicAction) ServeHTTP ¶
func (self *PublicAction) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Site2Manager ¶
type Site2Manager struct { WebSite *WebSite /* Web site common type */ // contains filtered or unexported fields }
func NewSite2Manager ¶
func NewSite2Manager(registry *registry.Container) *Site2Manager
func RestoreSite2Manager ¶
func RestoreSite2Manager(r *registry.Container) *Site2Manager
func (*Site2Manager) ContainerMiddleware ¶
func (self *Site2Manager) ContainerMiddleware(a api2.IAction) api2.IAction
func (*Site2Manager) GetLocation ¶
func (self *Site2Manager) GetLocation() string
func (*Site2Manager) SetPort ¶
func (self *Site2Manager) SetPort(port int)
func (*Site2Manager) Start ¶
func (self *Site2Manager) Start()
func (*Site2Manager) Stop ¶
func (self *Site2Manager) Stop() error
type StaticAction ¶
func NewStaticAction ¶
func NewStaticAction() *StaticAction
func (*StaticAction) ServeHTTP ¶
func (self *StaticAction) ServeHTTP(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.