Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a time.Duration that implements json.Unmarshal and json.Marshal.
func (*Duration) MarshalJSON ¶
MarshalJSON implements json.Unmarshaller
func (*Duration) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaller
type Test ¶
type Test struct {
ID int64 `json:"id"`
Cycles uint64 `json:"cycles"`
// How many writes an individual worker does. This value changes depending
// on the worker.
WriteCycles uint64 `json:"write_cycles"`
Delay Duration `json:"delay"`
Timeout Duration `json:"timeout"`
StartTime time.Time `json:"start_time"`
}
Test is used to decode the body from a request.
Click to show internal directories.
Click to hide internal directories.