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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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