Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfiguration ¶
func GetConfiguration(rt http.RoundTripper, URL string, attempts int, recv interface{}) error
GetConfiguration gets json from URL and parse it as recv interface. If it fails it tries the amount of times defined in the attempts. If fails after retries returns with an error. Returns nil on success
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.