Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Required = &requiredRule{message: "url cannot be blank", skipNil: false} // nolint:gochecknoglobals
Required is a ozzo-validation rule
Functions ¶
func RetryIncrementally ¶
RetryIncrementally retries passed function `call` until it end with success, else repeat and increments retrying interval up to 2 hour.
func RetryIncrementallyUntil ¶
RetryIncrementallyUntil retries passed function `call` until it end with success (returns true), else repeat and increments retrying interval up to 2 hour until function `call` succeeded (returns true) or until `until` time reached (returns false).
Types ¶
type URL ¶
URL is helper for configuration urls.
func (*URL) SetBasePath ¶
SetBasePath add standard path-prefix for URL.
func (*URL) UnmarshalJSON ¶ added in v1.9.0
UnmarshalJSON is an implementation of json.Unmarshaler.
func (*URL) UnmarshalYAML ¶
UnmarshalYAML is an implementation of yaml.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.