keys

package
v0.0.0-...-4dbff37 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2015 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddKey

func AddKey(email string, app *models.App, context appengine.Context) (*models.Key, error)

func Delete

func Delete(params martini.Params,
	req *http.Request) (int, string)

func Get

func Get(params martini.Params, req *http.Request) (int, string)

func GetKey

func GetKey(id int, context appengine.Context) (*models.Key, error)

GetEntry returns the entry identified by the given id or an error if it can not find it.

func GetKeyForEmail

func GetKeyForEmail(email string, context appengine.Context) (*models.Key, error)

func GetSha256Hash

func GetSha256Hash(text string) string

func Post

func Post(params martini.Params,
	req *http.Request, app *models.App) (int, string)

WebPost implements webservice.WebPost.

func RegisterWebService

func RegisterWebService(server *martini.ClassicMartini)

func RemoveKey

func RemoveKey(id int, context appengine.Context)

RemoveAllEntries removes all entries from the Guest Book.

Types

This section is empty.

Jump to

Keyboard shortcuts

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