accesstoken

package
v0.0.0-...-49a96a4 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAccessToken

func CreateAccessToken(weixinhost string, c chan AccessToken, appid string, secret string)

Attention: just allow to call only one time in weixin.New function.

func GetWeiXinServerIPList

func GetWeiXinServerIPList(weixinhost string, c chan AccessToken) ([]string, error)

获取微信服务器IP地址

Types

type AccessToken

type AccessToken struct {
	Token   string
	Expires time.Time //seconds.

}

Jump to

Keyboard shortcuts

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