controllers

package
v0.0.0-...-b824be3 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2015 License: GPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeUserData

func DecodeUserData(r io.ReadCloser) (*models.User, error)

Types

type AdvertisersController

type AdvertisersController struct {
	MiddlewareAuthController
}

func (*AdvertisersController) Get

func (this *AdvertisersController) Get()

func (*AdvertisersController) Render

func (this *AdvertisersController) Render() error

type ErrorLoad

type ErrorLoad struct {
	Error string
}

type ExampleDataController

type ExampleDataController struct {
	beegae.Controller
}

The sole purpose of this is to load the information at the beginning of the application database to test it

func (*ExampleDataController) Get

func (this *ExampleDataController) Get()

func (*ExampleDataController) Render

func (this *ExampleDataController) Render() error

type LoadAdvertiserController

type LoadAdvertiserController struct {
	MiddlewareAuthController
}

type LoginAuth

type LoginAuth struct {
	beegae.Controller
}

func (*LoginAuth) Get

func (this *LoginAuth) Get()

func (*LoginAuth) Post

func (this *LoginAuth) Post()

func (*LoginAuth) Render

func (this *LoginAuth) Render() error

type MainController

type MainController struct {
	beegae.Controller
}

func (*MainController) Get

func (this *MainController) Get()

type MiddlewareAuthController

type MiddlewareAuthController struct {
	NeedAuthController
}

func (*MiddlewareAuthController) AuthPrivatePlace

func (this *MiddlewareAuthController) AuthPrivatePlace()

type NeedAuth

type NeedAuth interface {
	AuthPrivatePlace()
}

type NeedAuthController

type NeedAuthController struct {
	beegae.Controller
}

func (*NeedAuthController) Prepare

func (this *NeedAuthController) Prepare()

type RegisterAuth

type RegisterAuth struct {
	beegae.Controller
}

func (*RegisterAuth) Get

func (this *RegisterAuth) Get()

func (*RegisterAuth) Post

func (this *RegisterAuth) Post()

func (*RegisterAuth) Render

func (this *RegisterAuth) Render() error

Jump to

Keyboard shortcuts

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