Documentation ¶
Index ¶
- type Util
- func (_m *Util) GetEnv(key string, defaultValue string) string
- func (_m *Util) GetEnvDurations(key string, defaultValue []time.Duration) []time.Duration
- func (_m *Util) GetEnvFloat64(key string, defaultValue float64) float64
- func (_m *Util) GetEnvInt64(key string, defaultValue int64) int64
- func (_m *Util) LoadEnvs(file string) error
- func (_m *Util) RetryWithContext(ctx context.Context, delays []time.Duration, callback util.RetryFunc) error
- func (_m *Util) SleepWithContext(ctx context.Context, dur time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Util ¶
Util is an autogenerated mock type for the Util type
func (*Util) GetEnvDurations ¶
GetEnvDurations provides a mock function with given fields: key, defaultValue
func (*Util) GetEnvFloat64 ¶
GetEnvFloat64 provides a mock function with given fields: key, defaultValue
func (*Util) GetEnvInt64 ¶
GetEnvInt64 provides a mock function with given fields: key, defaultValue
Click to show internal directories.
Click to hide internal directories.