msActionCommon

package
v0.0.0-...-0bff97c Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2017 License: Apache-2.0 Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	Do() error
}

Action is an interface that should be implemented by all Watch types. It simply defines a Do() function that does whatever the Action is meant to do.

type ActionBase

type ActionBase struct {
	Name string `json:"name"`
}

ActionBase should be included by all Action types as an embedded struct (anonymous field). It provides all fields that should be present in all Action implementations.

Jump to

Keyboard shortcuts

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