sgttopenid

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenIdFromServer

func GetOpenIdFromServer(appid string, secret string, code string) (string, error)

Types

type SByteDanceAppidCfg

type SByteDanceAppidCfg struct {
	Appid  string `json:"appid"`
	Secret string `json:"secret"`
}

type SByteDanceOpenid

type SByteDanceOpenid struct {
	Platform string
	Code     string
	Openid   string
	Time     *sgtime.DateTime
}

func (*SByteDanceOpenid) String

func (data *SByteDanceOpenid) String() string

Jump to

Keyboard shortcuts

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