Documentation ¶
Index ¶
- type DataController
- type Error
- type FlashMessage
- type Redirect
- func (redirect *Redirect) Redirect(ctx context.Context, request *web.Request) web.Response
- func (redirect *Redirect) RedirectPermanent(ctx context.Context, request *web.Request) web.Response
- func (redirect *Redirect) RedirectPermanentURL(ctx context.Context, request *web.Request) web.Response
- func (redirect *Redirect) RedirectURL(ctx context.Context, request *web.Request) web.Response
- type Render
- type SessionFlashController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataController ¶
DataController registers a route to allow external tools/ajax to retrieve data Handler
type Error ¶
type Error struct {
Responder responder.ErrorAware `inject:""`
}
Error controller
type FlashMessage ¶
type FlashMessage struct { Type string Message interface{} }
FlashMessage contains a type and a printable message
type Redirect ¶
type Redirect struct {
Responder responder.RedirectAware `inject:""`
}
Redirect Default controller
func (*Redirect) RedirectPermanent ¶
RedirectPermanent is the same as Redirect but with a HTTP permanent redirect
type SessionFlashController ¶
type SessionFlashController struct{}
SessionFlashController takes care of supported flash messages
Click to show internal directories.
Click to hide internal directories.