push

package
v0.38.66 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Queues = make(map[string]*goqueue.Queue)

Functions

func AddServers

func AddServers(servers []string)

func Handler

func Handler(w http.ResponseWriter, req *http.Request)

func PostDataToServer

func PostDataToServer(server string, body io.Reader) (err error)

func Queue

func Queue(check pkg.Check, status pkg.CheckStatus)

func Start

func Start()

Types

type QueueData added in v0.38.58

type QueueData struct {
	Check  pkg.Check       `json:",inline"`
	Status pkg.CheckStatus `json:",inline"`
}

Jump to

Keyboard shortcuts

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