script

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultInterval = time.Second * 60
	DefaultTimeout  = time.Hour
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Script

type Script struct {
	Name       string
	Body       []byte
	Interval   time.Duration
	Timeout    time.Duration
	Ignore     bool
	Channels   []string
	IsTest     bool
	TestTarget string
}

func New added in v0.1.0

func New() *Script

func (*Script) Hash

func (s *Script) Hash() string

func (*Script) ParseMeta

func (s *Script) ParseMeta() error

Jump to

Keyboard shortcuts

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