Help us shape the future of Go! Take the 2026 Go Developer Survey

jsapi

package
v2.1.14 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Timestamp int64  `json:"timestamp"`
	NonceStr  string `json:"nonce_str"`
	Signature string `json:"signature"`
}

Config 返回给用户使用的配置

type Js

type Js struct {
	*context.Context
	// contains filtered or unexported fields
}

Js struct

func NewJs

func NewJs(context *context.Context) *Js

NewJs init

func (*Js) GetAgentConfig

func (js *Js) GetAgentConfig(uri string) (config *Config, err error)

GetAgentConfig 获取企业微信应用JS配置 https://developer.work.weixin.qq.com/document/path/94313

func (*Js) GetConfig

func (js *Js) GetConfig(uri string) (config *Config, err error)

GetConfig 获取企业微信JS配置 https://developer.work.weixin.qq.com/document/path/90514

Jump to

Keyboard shortcuts

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