Documentation
¶
Index ¶
- func CheckToken(c *gin.Context, getSecret func(appId string) (secret string, err error)) error
- type Client
- func (this *Client) Delete(url string, data interface{}, resPtr interface{})
- func (this *Client) Get(url string, resPtr interface{})
- func (this *Client) MakeResponseHead(c *gin.Context)
- func (this *Client) Post(url string, data interface{}, resPtr interface{})
- func (this *Client) Put(url string, data interface{}, resPtr interface{})
- func (this *Client) SetCheckResultCode(fn func(int64, map[string]interface{}))
- func (this *Client) SetCheckResultHead(b bool)
- func (this *Client) SetHead(key string, val interface{})
- func (this *Client) SetNoticeTitle(title string)
- func (this *Client) SetProxyMode(b bool)
- func (this *Client) SetTimeout(t time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.