opsgenie2test

package
v1.5.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 {
	Message     string              `json:"message"`
	Entity      string              `json:"entity"`
	Alias       string              `json:"alias"`
	Note        string              `json:"note"`
	Priority    string              `json:"priority"`
	Description string              `json:"description"`
	Details     map[string]string   `json:"details"`
	Responders  []map[string]string `json:"responders"`
}

type Request

type Request struct {
	URL           string
	PostData      PostData
	Authorization string
}

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