Documentation ¶
Index ¶
- func ForwardToHost(c *gin.Context, f func(c *gin.Context))
- func GetAction(c *gin.Context)
- func GetActionWebTTY(c *gin.Context)
- func GetActions(c *gin.Context)
- func GetDisks(c *gin.Context)
- func GetHosts(c *gin.Context)
- func GetWebTTY(c *gin.Context)
- func MakeForwardToHost(f func(c *gin.Context)) func(c *gin.Context)
- type CertHandler
- type UserInfo
- type WebHandler
- type WebhandlerDownloads
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionWebTTY ¶
func GetActions ¶
Types ¶
type CertHandler ¶
type CertHandler struct {
// contains filtered or unexported fields
}
func NewCertHandler ¶
func NewCertHandler(certs ...*setup.Certificates) *CertHandler
func (*CertHandler) GetCertificates ¶
func (h *CertHandler) GetCertificates(c *gin.Context)
GetCertificates return list of hosts
func (*CertHandler) PostCertificates ¶
func (h *CertHandler) PostCertificates(c *gin.Context)
func (*CertHandler) RegisterEndpoints ¶
func (h *CertHandler) RegisterEndpoints(r gin.IRoutes)
type WebHandler ¶
type WebHandler struct {
// contains filtered or unexported fields
}
WebHandler handles all http endpoints
func (*WebHandler) SetupEndpoints ¶
func (wh *WebHandler) SetupEndpoints(r *gin.Engine) (err error)
SetupEndpoints registers the http endpoints
type WebhandlerDownloads ¶
type WebhandlerDownloads struct {
// contains filtered or unexported fields
}
func NewWebhandlerDownloads ¶
func NewWebhandlerDownloads() (wh *WebhandlerDownloads)
func (*WebhandlerDownloads) SetupEndpoints ¶
func (wh *WebhandlerDownloads) SetupEndpoints(r *gin.RouterGroup)
Click to show internal directories.
Click to hide internal directories.