Documentation ¶
Index ¶
- type Client
- func (c *Client) GenSignString(contentMd5, contentDate string) string
- func (c *Client) HostStr() string
- func (c *Client) InitAccess(key, secret string) *Client
- func (c *Client) InitHost(host string) *Client
- func (c *Client) InitLogger(logger *zap.Logger) *Client
- func (c *Client) Push(m []Metric) error
- type MValue
- type Metric
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Logger *zap.Logger //日志组件 Host string `json:"host"` AccessKey string `json:"access_key"` AccessSecret string `json:"access_secret"` }
func (*Client) GenSignString ¶
func (*Client) InitAccess ¶
Click to show internal directories.
Click to hide internal directories.