sample

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestProbe

type TestProbe struct {
	ProbeName     *string `json:"probe_name"`
	ProbeInterval *int    `json:"probe_interval"`
	ProbeTimeout  *int    `json:"probe_timeout"`
	ProbeMyConfig *string `json:"probe_my_config"` // this config field is specific to this module.
}

func (*TestProbe) Name

func (t *TestProbe) Name() *string

func (*TestProbe) Prepare

func (t *TestProbe) Prepare() error

func (*TestProbe) RetConfig

func (t *TestProbe) RetConfig() string

func (*TestProbe) Run

func (t *TestProbe) Run(respCh chan<- *modules.ProbeData, errCh chan<- error)

func (*TestProbe) RunIntervalSecs

func (t *TestProbe) RunIntervalSecs() *int

func (*TestProbe) TimeoutSecs

func (t *TestProbe) TimeoutSecs() *int

Jump to

Keyboard shortcuts

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