sensutest

package
v1.6.4-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Name     string                 `json:"name"`
	Source   string                 `json:"source"`
	Output   string                 `json:"output"`
	Status   int                    `json:"status"`
	Handlers []string               `json:"handlers"`
	Metadata map[string]interface{} `json:"-"`
}

func (*Request) UnmarshalJSON added in v1.5.2

func (r *Request) UnmarshalJSON(data []byte) error

type Server

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

func NewServer

func NewServer() (*Server, error)

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