http_query

package
v0.0.0-...-10721fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpQuery

type HttpQuery struct {
	Log *logs.BeeLogger
	// contains filtered or unexported fields
}

func NewInit

func NewInit(name string) *HttpQuery

func (*HttpQuery) AgentGet

func (hq *HttpQuery) AgentGet(path string, params map[string]string) (result map[string]interface{}, err error)

*

  • 加盟商Get请求
  • @Author: cs_shuai
  • @Date: 2019-09-27

func (*HttpQuery) AgentPost

func (hq *HttpQuery) AgentPost(path string, params map[string]string) (result map[string]interface{}, err error)

*

  • 加盟商post请求
  • @Author: cs_shuai
  • @Date: 2019-09-27

func (*HttpQuery) MarkdownDingWebHook

func (hq *HttpQuery) MarkdownDingWebHook(title string, content string) error

*

  • markdown快捷发送钉钉消息
  • @Author: cs_shuai
  • @Date: 2019-09-27

func (*HttpQuery) SetDingWebHookUrl

func (hq *HttpQuery) SetDingWebHookUrl(url string) *HttpQuery

*

  • 配置钉钉地址
  • @Author: cs_shuai
  • @Date: 2019-09-27

func (*HttpQuery) SetLogger

func (hq *HttpQuery) SetLogger(config string) error

*

  • 配置日志
  • @Author: cs_shuai
  • @Date: 2019-09-27

func (*HttpQuery) SetRunMode

func (hq *HttpQuery) SetRunMode(runMode string) *HttpQuery

*

  • 配置钉钉地址
  • @Author: cs_shuai
  • @Date: 2019-09-27

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL