models

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2016 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canary

type Canary struct {
	ID          string `json:"id"`
	TimeToLive  int64  `json:"ttl"`
	Refreshed   int64  `json:"refreshed"`
	Title       string `json:"title"`
	Description string `json:"description"`
	NextToken   string `json:"next"`
}

func (*Canary) IsDead

func (c *Canary) IsDead() bool

func (*Canary) IsZombie

func (c *Canary) IsZombie() bool

func (*Canary) Kill

func (c *Canary) Kill()

func (*Canary) Refresh

func (c *Canary) Refresh()

func (*Canary) Validate

func (c *Canary) Validate() error

Jump to

Keyboard shortcuts

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