handlers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2017 License: GPL-3.0 Imports: 15 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSupporter

func AddSupporter() web.HandlerFunc

AddSupporter adds current user to given idea list of supporters

func CheckAvailability

func CheckAvailability() web.HandlerFunc

CheckAvailability checks if given domain is available to be used

func CreateTenant

func CreateTenant() web.HandlerFunc

CreateTenant creates a new tenant

func IdeaDetails

func IdeaDetails() web.HandlerFunc

IdeaDetails shows details of given Idea by id

func Index

func Index() web.HandlerFunc

Index is the default home page

func LetterAvatar added in v0.5.0

func LetterAvatar() web.HandlerFunc

LetterAvatar returns a letter avatar based on name

func Login

func Login(provider string) web.HandlerFunc

Login handles OAuth logins

func Logout

func Logout() web.HandlerFunc

Logout remove auth cookies

func OAuthCallback

func OAuthCallback(provider string) web.HandlerFunc

OAuthCallback handles OAuth callbacks

func PostComment

func PostComment() web.HandlerFunc

PostComment creates a new comment on given idea

func PostIdea

func PostIdea() web.HandlerFunc

PostIdea creates a new idea on current tenant

func RemoveSupporter

func RemoveSupporter() web.HandlerFunc

RemoveSupporter removes current user from given idea list of supporters

func SetResponse

func SetResponse() web.HandlerFunc

SetResponse changes current idea staff response

func SignUp

func SignUp() web.HandlerFunc

SignUp is the entry point for installation / signup

func Status

func Status(settings *models.AppSettings) web.HandlerFunc

Status returns some useful information

func UpdateIdea added in v0.4.0

func UpdateIdea() web.HandlerFunc

UpdateIdea updates an existing ideaof current tenant

func UpdateSettings added in v0.4.0

func UpdateSettings() web.HandlerFunc

UpdateSettings update current tenant' settings

Types

This section is empty.

Jump to

Keyboard shortcuts

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