config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: BSD-3-Clause Imports: 1 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 {
	Debug                  bool          `json:"debug"`                     // 是否为调试模式
	URL                    string        `json:"url"`                       // 店铺地址
	Version                string        `json:"version"`                   // API 版本
	ConsumerKey            string        `json:"consumer_key"`              // Consumer Key
	ConsumerSecret         string        `json:"consumer_secret"`           // Consumer Secret
	AddAuthenticationToURL bool          `json:"add_authentication_to_url"` // 是否将认证信息附加到 URL 中
	Timeout                time.Duration `json:"timeout"`                   // 超时时间(秒)
	VerifySSL              bool          `json:"verify_ssl"`                // 是否验证 SSL
}

Jump to

Keyboard shortcuts

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