Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) Push(ctx context.Context, notMustParams ...*gorequest.Params) (*PushResult, error)
- func (c *Client) SetClientIP(clientIP string) *Client
- func (c *Client) SetLogFun(logFun gorequest.LogFunc)
- func (c *Client) SetPushKey(pushKey string) *Client
- func (c *Client) SetUrl(url string) *Client
- type PushResponse
- type PushResult
Constants ¶
View Source
const (
LogTable = "bark"
)
View Source
const (
Version = "1.0.3"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) SetPushKey ¶
type PushResponse ¶
type PushResult ¶
type PushResult struct { Result PushResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
Click to show internal directories.
Click to hide internal directories.