handlers

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package handlers is used to separate the handlers from other functions of the API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

All handles the '/all' endpoint

func Dislike

func Dislike(w http.ResponseWriter, _ *http.Request, p httprouter.Params)

Dislike handles the '/uuid/:uuid/dislike' endpoint

func Find

Find handles the '/uuid/:uuid/find' endpoint

func Like

Like handles the '/uuid/:uuid/like' endpoint

func Random

Random handles the '/random' endpoint

Search handles the '/search' endpoint

func Senile

Senile handles the '/senile' endpoint

func Top

Top handles the '/top' endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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