config

package
v0.0.0-...-85b3fc2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ClientID     string
	ClientSecret string
	Appid        string
	AccessToken  string
	ExpireIn     time.Duration
	Prod         bool   // 是否是正式环境,沙箱环境请选择新版沙箱应用信息。
	ProxyProd    string // 代理 URL
	ProxySandbox string // 代理 沙盒 URL
	Headers      map[string]string
}

func (Config) GenUrl

func (c Config) GenUrl(ctx context.Context, params map[string]string) func(format string) string

Jump to

Keyboard shortcuts

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