alerttest

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	Commander command.Commander
	// contains filtered or unexported fields
}

func NewExec

func NewExec() *Exec

func (*Exec) Commands

func (e *Exec) Commands() []*commandtest.Command

type Log

type Log struct {
	// contains filtered or unexported fields
}

func NewLog

func NewLog(p string) *Log

func (*Log) Data

func (l *Log) Data() ([]alert.Data, error)

func (*Log) Mode

func (l *Log) Mode() (os.FileMode, error)

type PostServer

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

func NewPostServer

func NewPostServer() *PostServer

func (*PostServer) Close

func (s *PostServer) Close()

func (*PostServer) Data

func (s *PostServer) Data() []alert.Data

type TCPServer

type TCPServer struct {
	Addr string
	// contains filtered or unexported fields
}

func NewTCPServer

func NewTCPServer() (*TCPServer, error)

func (*TCPServer) Close

func (s *TCPServer) Close()

func (*TCPServer) Data

func (s *TCPServer) Data() []alert.Data

Jump to

Keyboard shortcuts

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