Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout = Timeout(30 * time.Second)
DefaultTimeout specifies the timeout for services that do not specify StopTimeout
Functions ¶
This section is empty.
Types ¶
type Timeout ¶
Timeout is a time.Duration that knows how to roundtrip to json and yaml
func (Timeout) MarshalJSON ¶
MarshalJSON is from the json.Marshaler interface
func (*Timeout) UnmarshalJSON ¶
UnmarshalJSON is from the json.Unmarshaler interface
func (*Timeout) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.