controllers

package
v0.0.0-...-7ba98d9 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apps

type Apps struct {
	Base
}

Apps ctrl

func NewApps

func NewApps(
	config config.Config,
	session sessions.Store,
) *Apps

NewApps ctrl

func (*Apps) Handler

func (ctrl *Apps) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Apps

type Base

type Base struct {
	// contains filtered or unexported fields
}

type Contact

type Contact struct {
	Base
}

Contact ctrl

func NewContact

func NewContact(
	config config.Config,
	session sessions.Store,
) *Contact

NewContact ctrl

func (*Contact) Handler

func (ctrl *Contact) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Contact

type Donate struct {
	Base
}

Donate ctrl

func NewDonate

func NewDonate(
	config config.Config,
	session sessions.Store,
) *Donate

NewDonate ctrl

func (*Donate) Handler

func (ctrl *Donate) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /donate

type Downloads

type Downloads struct {
	Base
}

Downloads ctrl

func NewDownloads

func NewDownloads(
	config config.Config,
	session sessions.Store,
) *Downloads

NewDownloads ctrl

func (*Downloads) Handler

func (ctrl *Downloads) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Downloads

type Index

type Index struct {
	Base
	// contains filtered or unexported fields
}

Index ctrl

func NewIndex

func NewIndex(
	config config.Config,
	session sessions.Store,
	store datastore.Datastore,
) *Index

NewIndex ctrl

func (*Index) Handler

func (ctrl *Index) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /

type Login

type Login struct {
	Base
	// contains filtered or unexported fields
}

Login ctrl

func NewLogin

func NewLogin(
	config config.Config,
	session sessions.Store,
	oauth *oauth.Oauth,
	store datastore.Datastore,
) *Login

NewLogin ctrl

func (*Login) CallbackHandler

func (ctrl *Login) CallbackHandler(w http.ResponseWriter, r *http.Request)

CallbackHandler handles /login/callback

func (*Login) Handler

func (ctrl *Login) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /

type Logout

type Logout struct {
	Base
}

Logout ctrl

func NewLogout

func NewLogout(
	config config.Config,
	session sessions.Store,
) *Logout

NewLogout ctrl

func (*Logout) Handler

func (ctrl *Logout) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /

type Profile

type Profile struct {
	Base
}

Profile ctrl

func NewProfile

func NewProfile(
	config config.Config,
	session sessions.Store,
) *Profile

NewProfile ctrl

func (*Profile) Handler

func (ctrl *Profile) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Profile

type Schedule

type Schedule struct {
	Base
	// contains filtered or unexported fields
}

Schedule ctrl

func NewSchedule

func NewSchedule(
	config config.Config,
	session sessions.Store,
	store datastore.Datastore,
) *Schedule

NewSchedule ctrl

func (*Schedule) Handler

func (ctrl *Schedule) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Schedule

type Starred

type Starred struct {
	Base
}

Starred ctrl

func NewStarred

func NewStarred(
	config config.Config,
	session sessions.Store,
) *Starred

NewStarred ctrl

func (*Starred) Handler

func (ctrl *Starred) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Downloads

type Startrack

type Startrack struct {
	Base
}

Startrack ctrl

func NewStartrack

func NewStartrack(
	config config.Config,
	session sessions.Store,
) *Startrack

NewStartrack ctrl

func (*Startrack) Handler

func (ctrl *Startrack) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Startrack

type Tools

type Tools struct {
	Base
}

Tools ctrl

func NewTools

func NewTools(
	config config.Config,
	session sessions.Store,
) *Tools

NewTools ctrl

func (*Tools) Handler

func (ctrl *Tools) Handler(w http.ResponseWriter, r *http.Request)

Handler handles /Downloads

Jump to

Keyboard shortcuts

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