types

package
v0.0.0-...-98b2de1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration time.Duration

func ParseDuration

func ParseDuration(s string) (Duration, error)

func (Duration) MarshalJSON

func (z Duration) MarshalJSON() ([]byte, error)

func (Duration) String

func (z Duration) String() string

func (*Duration) UnmarshalJSON

func (z *Duration) UnmarshalJSON(b []byte) error

type Retry

type Retry int
const RetryNoLimit Retry = -9999

func ParseRetry

func ParseRetry(s string) (Retry, error)

func (*Retry) Decr

func (z *Retry) Decr()

func (*Retry) Incr

func (z *Retry) Incr()

func (Retry) IsValid

func (z Retry) IsValid() bool

func (Retry) MarshalJSON

func (z Retry) MarshalJSON() ([]byte, error)

func (Retry) String

func (z Retry) String() string

func (*Retry) UnmarshalJSON

func (z *Retry) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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