Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginsWithCheck ¶
func EndsWithCheck ¶
func SmallSnakeCaseText ¶
Types ¶
type HostSwitch ¶
type HostSwitch struct {
HandlerMap map[string]*gin.Engine
SiteMap map[string]subsite.SubSite
AuthMiddleware *auth.AuthMiddleware
AdministratorGroupId daptinid.DaptinReferenceId
}
func (HostSwitch) GetAllRouter ¶
func (hs HostSwitch) GetAllRouter() []*gin.Engine
func (HostSwitch) GetHostRouter ¶
func (hs HostSwitch) GetHostRouter(name string) *gin.Engine
func (HostSwitch) ServeHTTP ¶
func (hs HostSwitch) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.