Documentation ¶
Index ¶
- func DefaultGenerateName(url string) string
- func Delete(c context.Context, name, uri string) (resp *http.Response, err error)
- func Get(c context.Context, name, uri string) (resp *http.Response, err error)
- func ParseToStr(mp map[string]string) string
- func PostByte(c context.Context, name, uri string, data []byte) (resp *http.Response, err error)
- func PostForm(c context.Context, name, uri string, param map[string]string) (resp *http.Response, err error)
- func PostJson(c context.Context, name, uri string, param map[string]string) (resp *http.Response, err error)
- func PutByte(c context.Context, name, uri string, data []byte) (resp *http.Response, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGenerateName ¶
func Get ¶
Get to exec http.Get param context context of server param name hystrix Circuit name parem url url to get
func ParseToStr ¶
ParseToStr parse map params to strings that can be added to url
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.