Versions in this module Expand all Collapse all v1 v1.0.2 Mar 5, 2021 v1.0.1 Jul 2, 2020 Changes in this version + type Config struct + AppID string + NonceStr string + Signature string + Timestamp int64 + type Js struct + func NewJs(context *context.Context) *Js + func (js *Js) GetConfig(uri string) (config *Config, err error) + func (js *Js) GetTicket() (ticketStr string, err error)