model

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AwlessFileExt = "aws"
	StampLayout   = "2006-01-02-15h04m05s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceInfo

type ServiceInfo struct {
	Uptime          string
	ServiceAddr     string
	TickerFrequency string
	UnixSockMode    bool
}

type Task

type Task struct {
	Content  string
	RunAt    time.Time
	RevertAt time.Time
	Region   string
}

func (*Task) AsFilename

func (tk *Task) AsFilename() string

func (*Task) MarshalJSON

func (tk *Task) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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