Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Base ¶
type Base struct {
FromUserName CDATAText
ToUserName CDATAText
MsgType CDATAText
CreateTime CDATAText
}
func (*Base) InitBaseData ¶
func (b *Base) InitBaseData(w *WeixinClient, msgtype string)
type HttpHandler ¶
type HttpHandler struct{}
func (*HttpHandler) ServeHTTP ¶
func (*HttpHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type WebController ¶
type WeixinClient ¶
type WeixinClient struct {
Token string
Query weixinQuery
Message map[string]interface{}
Request *http.Request
ResponseWriter http.ResponseWriter
Methods map[string]func() bool
}
func NewClient ¶
func NewClient(r *http.Request, w http.ResponseWriter, token string) (*WeixinClient, error)
func (*WeixinClient) Run ¶
func (this *WeixinClient) Run()
Click to show internal directories.
Click to hide internal directories.