Documentation ¶
Index ¶
- Variables
- func DetectLocale() gin.HandlerFunc
- func StartToolkitServer(filePort, toolkitPort string)
- func Translate(key string) string
- type MainRouter
- func (router *MainRouter) CreateNodeHandler(c *gin.Context)
- func (router *MainRouter) GetInstallLog(c *gin.Context)
- func (router *MainRouter) IndexHandler(c *gin.Context)
- func (self *MainRouter) Initialize(r *gin.Engine, filePort, toolkitPort string)
- func (router *MainRouter) InstallNodeHandler(c *gin.Context)
- func (router *MainRouter) ListNodesHandler(c *gin.Context)
- func (router *MainRouter) NodeProgressHandler(c *gin.Context)
- func (router *MainRouter) RefreshNodeHandler(c *gin.Context)
- func (router *MainRouter) RemoveNodeHandler(c *gin.Context)
- func (router *MainRouter) WSHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( I18n *i18n.I18n Locale string )
Functions ¶
func DetectLocale ¶
func DetectLocale() gin.HandlerFunc
func StartToolkitServer ¶
func StartToolkitServer(filePort, toolkitPort string)
Types ¶
type MainRouter ¶
type MainRouter struct {
// contains filtered or unexported fields
}
func (*MainRouter) CreateNodeHandler ¶
func (router *MainRouter) CreateNodeHandler(c *gin.Context)
func (*MainRouter) GetInstallLog ¶
func (router *MainRouter) GetInstallLog(c *gin.Context)
func (*MainRouter) IndexHandler ¶
func (router *MainRouter) IndexHandler(c *gin.Context)
func (*MainRouter) Initialize ¶
func (self *MainRouter) Initialize(r *gin.Engine, filePort, toolkitPort string)
func (*MainRouter) InstallNodeHandler ¶
func (router *MainRouter) InstallNodeHandler(c *gin.Context)
func (*MainRouter) ListNodesHandler ¶
func (router *MainRouter) ListNodesHandler(c *gin.Context)
func (*MainRouter) NodeProgressHandler ¶
func (router *MainRouter) NodeProgressHandler(c *gin.Context)
func (*MainRouter) RefreshNodeHandler ¶
func (router *MainRouter) RefreshNodeHandler(c *gin.Context)
func (*MainRouter) RemoveNodeHandler ¶
func (router *MainRouter) RemoveNodeHandler(c *gin.Context)
func (*MainRouter) WSHandler ¶
func (router *MainRouter) WSHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.