alertatest

package
v1.5.8-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 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"`
	Correlate   []string `json:"correlate"`
	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