util

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package util

Package util

Package util

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Goroutine

func Goroutine() map[string]interface{}

Goroutine ...

func HttpJson

func HttpJson(method, url string, contentType string, body io.Reader, v interface{}) error

HttpJson ...

func HttpXml

func HttpXml(method, url string, contentType string, body io.Reader, v interface{}) error

HttpXml ...

func NoRetryError

func NoRetryError(err error) stop

func Retry

func Retry(attempts int, sleep time.Duration, fn func() error) error

Retry function. fn is the retry function.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL