actions

package
v0.0.0-...-87278f6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENV = defaults.String(os.Getenv("GO_ENV"), "development")

ENV is used to help switch settings based on where the application is being run. Default is "development".

Functions

func AboutHandler

func AboutHandler(c buffalo.Context) error

AboutHandler is a default handler to serve up content pages

func AdminHandler

func AdminHandler(c buffalo.Context) error

AdminHandler serves the admin root

func App

func App() *buffalo.App

App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.

func AuthHandler

func AuthHandler(c buffalo.Context) error

func CountdownHandler

func CountdownHandler(c buffalo.Context) error

CountdownHandler serves the countdown page.

func EventHandler

func EventHandler(c buffalo.Context) error

EventHandler is a default handler to serve up event pages

func HomeHandler

func HomeHandler(c buffalo.Context) error

HomeHandler is a default handler to serve up a home page.

func HotelsHandler

func HotelsHandler(c buffalo.Context) error

func LoginHandler

func LoginHandler(c buffalo.Context) error

AdminHandler serves the admin root

func Offset

func Offset(number int) string

func RightLeft

func RightLeft(number int) string

func ScheduleHandler

func ScheduleHandler(c buffalo.Context) error

Types

type AdminPage

type AdminPage struct {
	Title    string
	Subtitle string
	Page     string
}

AdminPage is a container that holds variables to populate the admin templates

type SpeakersResource

type SpeakersResource struct {
	buffalo.Resource
}

func (*SpeakersResource) List

List default implementation.

func (*SpeakersResource) Show

Show default implementation. note that we're listening at /speakers but actually getting presentations. This is important if your don't want to be confused at some future point.

type SponsorResource

type SponsorResource struct {
	buffalo.Resource
}

func (*SponsorResource) List

func (v *SponsorResource) List(c buffalo.Context) error

List default implementation.

func (*SponsorResource) Show

func (v *SponsorResource) Show(c buffalo.Context) error

Show default implementation.

type WorkshopsResource

type WorkshopsResource struct {
	buffalo.Resource
}

func (*WorkshopsResource) List

List default implementation.

func (*WorkshopsResource) Show

Show default implementation. note that we're listening at /speakers but actually getting presentations. This is important if your don't want to be confused at some future point.

Jump to

Keyboard shortcuts

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