handlers

package
v2.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 27 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCalman

func HandleCalman(message service.Message, providedService service.Service, cache cache.QueryCache, repo models.Repo)

func HandleGoogleImage added in v1.2.8

func HandleGoogleImage(w http.ResponseWriter, r *http.Request)

func HandleJeffFetch

func HandleJeffFetch(w http.ResponseWriter, r *http.Request)

func HandleMinecraft

func HandleMinecraft(w http.ResponseWriter, r *http.Request)

func HandlePlaylistRequest

func HandlePlaylistRequest(w http.ResponseWriter, r *http.Request)

func HandleSpotifyRedirect

func HandleSpotifyRedirect(w http.ResponseWriter, r *http.Request)

func HandleTrackMinecraft

func HandleTrackMinecraft(w http.ResponseWriter, r *http.Request)

func HandleYoutubeLinkt

func HandleYoutubeLinkt(w http.ResponseWriter, r *http.Request)

func MonitorMinecraft

func MonitorMinecraft()

func NewStateStack

func NewStateStack(capacity int) stateStack

func SetupSpotify

func SetupSpotify()

Types

type Next added in v1.2.8

type Next struct {
	StartIndex int `json:"startIndex"`
}

type Queries added in v1.2.8

type Queries struct {
	NextPage []Next `json:"nextPage"`
}

type RootSearch added in v1.2.8

type RootSearch struct {
	Kind    string       `json:"kind"`
	Items   []SearchItem `json:"items"`
	Queries Queries      `json:"queries"`
}

type SearchItem added in v1.2.8

type SearchItem struct {
	Title string `json:"title"`
	Link  string `json:"link"`
	Mime  string `json:"mime"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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