client/http/http_client.go
func (o Options) MarshalJSON() ([]byte, error) {
	return json.Marshal(optionsJSON{
		Timeout:             marshal.Duration(o.Timeout),
		KeepAlive:           marshal.Duration(o.KeepAlive),
		TLSHandshakeTimeout: marshal.Duration(o.TLSHandshakeTimeout),
		TLSSkipVerify:       o.TLSSkipVerify,
		RetryTimeMax:        marshal.Duration(o.RetryTimeMax),
		RetrySleepMax:       marshal.Duration(o.RetrySleepMax),
		RetrySleepBase:      marshal.Duration(o.RetrySleepBase),
	})
}
func (o Options) MarshalJSON() ([]byte, error) {
	return json.Marshal(optionsJSON{
		Timeout:             marshal.Duration(o.Timeout),
		KeepAlive:           marshal.Duration(o.KeepAlive),
		TLSHandshakeTimeout: marshal.Duration(o.TLSHandshakeTimeout),
		TLSSkipVerify:       o.TLSSkipVerify,
		RetryTimeMax:        marshal.Duration(o.RetryTimeMax),
		RetrySleepMax:       marshal.Duration(o.RetrySleepMax),
		RetrySleepBase:      marshal.Duration(o.RetrySleepBase),
	})
}
// MarshalJSON implements of json.Marshaler interface.
// It marshals string representations of time.Duration.