stats

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleJobs

func HandleJobs(jobs core.JobStore) http.HandlerFunc

HandleJobs returns an http.HandlerFunc that writes JSON encoded result about jobs statistics to the http response body.

func HandlePause

func HandlePause(users core.UserStore, scheduler core.Scheduler) http.HandlerFunc

HandlePause returns an http.HandlerFunc which writes JSON encoded result about pausing scheduler to the http response body

func HandleResume

func HandleResume(users core.UserStore, scheduler core.Scheduler) http.HandlerFunc

HandleResume returns an http.HandlerFunc which writes JSON encoded result about resuming scheduler to the http response body

func HandleStats

func HandleStats(stats core.StatsService) http.HandlerFunc

HandleStats returns an http.HandlerFunc that writes JSON encoded server stats to the http response body.

Types

This section is empty.

Jump to

Keyboard shortcuts

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