alertatest

package
v1.5.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostData

type PostData struct {
	Resource    string   `json:"resource"`
	Event       string   `json:"event"`
	Group       string   `json:"group"`
	Environment string   `json:"environment"`
	Text        string   `json:"text"`
	Origin      string   `json:"origin"`
	Service     []string `json:"service"`
	Value       string   `json:"value"`
	Timeout     int64    `json:"timeout"`
}

type Request

type Request struct {
	URL           string
	Authorization string
	PostData      PostData
}

type Server

type Server struct {
	URL string
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) Requests

func (s *Server) Requests() []Request

Jump to

Keyboard shortcuts

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