Versions in this module Expand all Collapse all v1 v1.0.1 Jan 6, 2021 Changes in this version type Server + func (s *Server) RunWithGin(port int) v1.0.0 Dec 16, 2020 Changes in this version + type JSSDKSignature struct + AppID string + Noncestr string + Sign string + Timestamp int64 + type Server struct + func NewServer() *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)