Versions in this module Expand all Collapse all v1 v1.0.1 Aug 10, 2024 v1.0.0 Aug 10, 2024 Changes in this version + func BuildRequestBody(opts interface{}, parent string) (map[string]interface{}, error) + func IsValidEmail(email string) bool + func JsonMarshal(t interface{}) ([]byte, error) + func LoadFromYaml(path string, cfg interface{}) error + func RunCmd(args ...string) ([]byte, error, int) + type HttpClient struct + Client *http.Client + MaxRetries int + func NewHttpClient(n int) HttpClient + func (hc *HttpClient) Download(req *http.Request) (r []byte, statusCode int, err error) + func (hc *HttpClient) ForwardTo(req *http.Request, jsonResp interface{}) (statusCode int, err error) + type MultiError struct + func NewMultiErrors() *MultiError + func (e *MultiError) Add(s string) + func (e *MultiError) AddError(err error) + func (e *MultiError) Err() error + type Timer interface + Start func(f func(), interval, delay time.Duration) + Stop func() + func NewTimer() Timer