webpages

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package webpages contains handlers that serve autodeb-server's web pages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPGPKeyPostHandler

func AddPGPKeyPostHandler(appCtx *appctx.Context) http.Handler

AddPGPKeyPostHandler returns a handler that adds PGP key to the user's profile

func CreateAccessTokenPostHandler

func CreateAccessTokenPostHandler(appCtx *appctx.Context) http.Handler

CreateAccessTokenPostHandler returns a handler that creates a new access token for the user

func FuncMap

func FuncMap() template.FuncMap

FuncMap defines functions used in the templates

func IndexGetHandler

func IndexGetHandler(appCtx *appctx.Context) http.Handler

IndexGetHandler returns a handler for the main page

func InstructionsGetHandler

func InstructionsGetHandler(appCtx *appctx.Context) http.Handler

InstructionsGetHandler returns a handler for the instructions page

func JobGetHandler

func JobGetHandler(appCtx *appctx.Context) http.Handler

JobGetHandler returns a handler that renders the job detail page

func JobsGetHandler

func JobsGetHandler(appCtx *appctx.Context) http.Handler

JobsGetHandler returns a handler that renders the jobs page

func ProfileAccessTokensGetHandler

func ProfileAccessTokensGetHandler(appCtx *appctx.Context) http.Handler

ProfileAccessTokensGetHandler returns a handler that renders the access tokens page

func ProfileGetHandler

func ProfileGetHandler(appCtx *appctx.Context) http.Handler

ProfileGetHandler returns a handler that renders the profile page

func ProfilePGPKeysGetHandler

func ProfilePGPKeysGetHandler(appCtx *appctx.Context) http.Handler

ProfilePGPKeysGetHandler returns a handler that renders the pgp keys page

func RemoveAccessTokenPostHandler

func RemoveAccessTokenPostHandler(appCtx *appctx.Context) http.Handler

RemoveAccessTokenPostHandler returns a handler that removes an access token

func RemovePGPKeyPostHandler

func RemovePGPKeyPostHandler(appCtx *appctx.Context) http.Handler

RemovePGPKeyPostHandler returns a handler that removes a PGP key

func UploadGetHandler

func UploadGetHandler(appCtx *appctx.Context) http.Handler

UploadGetHandler returns a handler that renders the upload detail page

func UploadsGetHandler

func UploadsGetHandler(appCtx *appctx.Context) http.Handler

UploadsGetHandler returns a handler that renders the uploads page

Types

This section is empty.

Jump to

Keyboard shortcuts

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