Documentation ¶
Index ¶
- type JSSDKSignature
- type Server
- func (s *Server) GenJSAPISign(appid, uri string) (JSSDKSignature, error)
- func (s *Server) GetJSAPITicket(appid string) (string, string, error)
- func (s *Server) GetToken(appid string) (string, string, error)
- func (s *Server) Register(appid, secret string)
- func (s *Server) Run(port int)
- func (s *Server) RunWithGin(port int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSSDKSignature ¶
JSSDKSignature JSSDK 签名对象
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server Token 中控服务
func (*Server) GenJSAPISign ¶
func (s *Server) GenJSAPISign(appid, uri string) (JSSDKSignature, error)
GenJSAPISign 生成JSSDK Config签名配置
func (*Server) GetJSAPITicket ¶
GetJSAPITicket 获取微信JSAPI_Ticket
func (*Server) RunWithGin ¶ added in v1.0.1
RunWithGin run service with gin framework.
Click to show internal directories.
Click to hide internal directories.