Documentation ¶
Index ¶
- Variables
- func Register(session *wxweb.Session, options ...backendOption)
- func SendImage(data []byte, url, name string, session *wxweb.Session)
- func SendText(name, text string) error
- func SendTextQuanPin(name, text string) error
- func SetBackendUrl(url string) backendOption
- func SetDefaultBackend(url string)
- func SetReadyReceiver(receiver string)
- func ShowGroups()
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SessionReady bool
)
Functions ¶
func SendText ¶
eg.
text := "hi there, robot here\n" sendtext("xiubi", text) //ok, it's a remarkname sendtext("三", "hello1by-name") //ok, it's a group name sendtext("filehelper", text) //not ok sendtext("Nickname", text) //not ok
func SendTextQuanPin ¶
eg. sendtextquanpin("san", "hello1by-py")
func SetBackendUrl ¶
func SetBackendUrl(url string) backendOption
SetBackendUrl change the default backend default is "http://localhost:4000"
func SetDefaultBackend ¶
func SetDefaultBackend(url string)
func SetReadyReceiver ¶
func SetReadyReceiver(receiver string)
func ShowGroups ¶
func ShowGroups()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.