api

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

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

Go to latest
Published: Jun 14, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAPI

func InitAPI()

InitAPI init apis

Types

type API

type API struct {
	api.Handler
}

API namespace

func (*API) FaviconAction

func (handler *API) FaviconAction(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

func (*API) QueueResumeAction

func (handler *API) QueueResumeAction(w http.ResponseWriter, req *http.Request, p httprouter.Params)

QueueResumeAction used to resume specify paused queue ➜ ~ curl --user user:password -XPOST http://localhost:2900/_proxy/queue/resume -d'{"queue":"primary"}'

func (*API) QueueStatsAction

func (handler *API) QueueStatsAction(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

QueueStatsAction return queue stats information

func (*API) StatsAction

func (handler *API) StatsAction(w http.ResponseWriter, req *http.Request, _ httprouter.Params)

StatsAction return stats information

Jump to

Keyboard shortcuts

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