Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppController ¶
type AppController struct {
*ApplicationController
}
func NewAppController ¶
func NewAppController(config *config.Config, etcd *store.Etcd) *AppController
func (*AppController) Get ¶
func (self *AppController) Get(c *gin.Context)
func (*AppController) Index ¶
func (self *AppController) Index(c *gin.Context)
func (*AppController) New ¶
func (self *AppController) New(c *gin.Context)
type ApplicationController ¶
type ApplicationController struct {
// contains filtered or unexported fields
}
func NewApplicationController ¶
func NewApplicationController(config *config.Config, etcd *store.Etcd) *ApplicationController
func (*ApplicationController) CurrentUser ¶
func (self *ApplicationController) CurrentUser(c *gin.Context) string
type ArgController ¶
type ArgController struct {
*ApplicationController
}
func NewArgController ¶
func NewArgController(config *config.Config, etcd *store.Etcd) *ArgController
func (*ArgController) Delete ¶
func (self *ArgController) Delete(c *gin.Context)
func (*ArgController) New ¶
func (self *ArgController) New(c *gin.Context)
type EnvController ¶
type EnvController struct {
*ApplicationController
}
func NewEnvController ¶
func NewEnvController(config *config.Config, etcd *store.Etcd) *EnvController
func (*EnvController) Delete ¶
func (self *EnvController) Delete(c *gin.Context)
func (*EnvController) New ¶
func (self *EnvController) New(c *gin.Context)
func (*EnvController) Upload ¶
func (self *EnvController) Upload(c *gin.Context)
type HealthcheckController ¶
type HealthcheckController struct {
*ApplicationController
}
func NewHealthcheckController ¶
func NewHealthcheckController(config *config.Config, etcd *store.Etcd) *HealthcheckController
func (*HealthcheckController) Update ¶
func (self *HealthcheckController) Update(c *gin.Context)
type RootController ¶
type RootController struct {
*ApplicationController
}
func NewRootController ¶
func NewRootController(config *config.Config, etcd *store.Etcd) *RootController
func (*RootController) Index ¶
func (self *RootController) Index(c *gin.Context)
type SessionController ¶
type SessionController struct { *ApplicationController // contains filtered or unexported fields }
func NewSessionController ¶
func (*SessionController) Callback ¶
func (self *SessionController) Callback(c *gin.Context)
func (*SessionController) SignIn ¶
func (self *SessionController) SignIn(c *gin.Context)
func (*SessionController) SignOut ¶
func (self *SessionController) SignOut(c *gin.Context)
func (*SessionController) UpdateKeys ¶
func (self *SessionController) UpdateKeys(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.