Documentation ¶
Index ¶
- func NewApp() *application
- type AsyncJob
- type AsyncWorker
- type Controller
- func (ct *Controller) AddJob(n string, j *AsyncJob) error
- func (ct *Controller) GetConfig(c web.C) *toml.TomlTree
- func (ct *Controller) GetPlugin(name string, c web.C) interface{}
- func (ct *Controller) GetSession(c web.C) *sessions.Session
- func (ct *Controller) IsXhr(c web.C) bool
- func (ct *Controller) NewJobQueue(n string, w AsyncWorker, c int) error
- func (ct *Controller) Render(c web.C) *render.Render
- type CsrfProtection
- type JobParams
- type Permission
- type Plugin
- type StaticOptions
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AsyncJob ¶
type AsyncJob struct { Result chan interface{} // contains filtered or unexported fields }
func NewAsyncJob ¶
func NewAsyncJob(c chan interface{}) *AsyncJob
type AsyncWorker ¶
type AsyncWorker func(p JobParams) interface{}
type Controller ¶
type Controller struct { }
func (*Controller) GetConfig ¶
func (ct *Controller) GetConfig(c web.C) *toml.TomlTree
func (*Controller) GetSession ¶
func (ct *Controller) GetSession(c web.C) *sessions.Session
func (*Controller) NewJobQueue ¶
func (ct *Controller) NewJobQueue(n string, w AsyncWorker, c int) error
type CsrfProtection ¶
type Permission ¶
type Permission int
type StaticOptions ¶
Click to show internal directories.
Click to hide internal directories.