Documentation ¶
Index ¶
- func Get(url string, params map[string]string) (*resty.Response, error)
- func GetHttpClient() *http.Client
- func Init()
- func MonitorMsg(murl, loc, msg string) error
- func Post(url string, params map[string]string, data interface{}) (*resty.Response, error)
- func PostNotParseBody(url string, params map[string]string, data interface{}) (*resty.Response, error)
- type LogForResty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHttpClient ¶
func MonitorMsg ¶
Types ¶
type LogForResty ¶
type LogForResty struct{}
var LFR LogForResty
内部Resty日志
func (LogForResty) Debugf ¶
func (l LogForResty) Debugf(format string, v ...interface{})
func (LogForResty) Errorf ¶
func (l LogForResty) Errorf(format string, v ...interface{})
func (LogForResty) Warnf ¶
func (l LogForResty) Warnf(format string, v ...interface{})
Click to show internal directories.
Click to hide internal directories.