Documentation ¶ Index ¶ func Run(ctx context.Context, wait Duration) error type Duration func (d Duration) MarshalJSON() ([]byte, error) func (d *Duration) Set(val string) error func (d Duration) String() string func (d *Duration) UnmarshalJSON(b []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(ctx context.Context, wait Duration) error Types ¶ type Duration ¶ type Duration time.Duration func (Duration) MarshalJSON ¶ func (d Duration) MarshalJSON() ([]byte, error) func (*Duration) Set ¶ func (d *Duration) Set(val string) error func (Duration) String ¶ func (d Duration) String() string func (*Duration) UnmarshalJSON ¶ func (d *Duration) UnmarshalJSON(b []byte) error Source Files ¶ View all Source files sleeper.go Click to show internal directories. Click to hide internal directories.