sgwxtoken

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessTokenFromWx

func GetAccessTokenFromWx(appid string, secret string) (string, int64, error)

Types

type SWxToken

type SWxToken struct {
	Appid       string
	Secret      string
	RequireDt   *sgtime.DateTime
	ExpiryDt    int
	AccessToken string
}

func (*SWxToken) String

func (data *SWxToken) String() string

Jump to

Keyboard shortcuts

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