Versions in this module Expand all Collapse all v1 v1.0.3 Jul 17, 2021 v1.0.1 Jul 17, 2021 Changes in this version + type AtomMetadata struct + ApplicationID string + GroupID string + InstanceID string + Interface string + LocalIP string + LocalPort string + NamespaceID string + ServiceName string + type Client struct + func NewClient(optFunc ...Option) *Client + func (c *Client) Do(method string, url string, reqBody interface{}, respBody interface{}) (header http.Header, err error) + func (c *Client) Get(url string, respBody interface{}) (header http.Header, err error) + func (c *Client) Post(url string, reqBody interface{}, respBody interface{}) (err error) + func (c *Client) Put(url string, reqBody interface{}, respBody interface{}) (err error) + type Metadata struct + ApplicationID string + ApplicationVersion string + GroupID string + InstanceID string + LocalIP string + NamespaceID string + ServiceName string + type Option interface + func WithMaxConnPerHost(max int) Option + func WithTimeout(timeout time.Duration) Option