Versions in this module Expand all Collapse all v2 v2.0.6 Mar 19, 2021 v2.0.5 Mar 19, 2021 Changes in this version + func AssembleUrl(service, path string) string + func ConvertServiceToUrl(address string) string + func Delete(url string, headers map[string]string, params ...interface{}) (*httpclient.Response, error) + func DeleteFeign(opt Options, path string, params ...interface{}) (string, error) + func Get(url string, headers map[string]string) (*httpclient.Response, error) + func GetFeign(opt Options, path string) (string, error) + func GetServiceAddr(r registry.Registry, serviceName string) (string, error) + func NewClient() *httpclient.HttpClient + func Post(url string, param url.Values, headers map[string]string) (*httpclient.Response, error) + func PostFeign(opt Options, path string, param url.Values) (string, error) + func PostJson(url string, data interface{}, headers map[string]string) (*httpclient.Response, error) + func PostJsonFeign(opt Options, path string, data interface{}) (string, error) + func PutJson(url string, data interface{}, headers map[string]string) (*httpclient.Response, error) + func PutJsonFeign(opt Options, path string, data interface{}) (string, error) + type Option func(*Options) + type Options struct + Headers map[string]string + Registry registry.Registry + Service string