gin

package
v0.0.0-...-63002a4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandleJssdkConfig

func NewHandleJssdkConfig(appID string, client wechat.Clienter) gin.HandlerFunc

NewHandleJssdkConfig 获取jssdk配置

func WechatContextFunction

func WechatContextFunction(ctlFunc func(ctx *WechatContext), client wechat.Clienter) ggin.HandlerFunc

WechatContextFunction wechat gin.Contenxt and local model.Context

Types

type WechatContext

type WechatContext struct {
	*ggin.Context
	WxClient wechat.Clienter
}

WechatContext include gin context and local context

func (*WechatContext) ReplyXML

func (w *WechatContext) ReplyXML(xml wechat.XMLer)

ReplyXML 回复xml

Jump to

Keyboard shortcuts

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