controller

package
v0.0.0-...-19b261f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2016 License: MIT Imports: 16 Imported by: 0

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 NewSessionController(config *config.Config, etcd *store.Etcd, oauthConf oauth2.Config) *SessionController

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL