structs

package
v0.0.0-...-154cf9e Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuerySignatureParams

type QuerySignatureParams struct {
	// 签名
	Signature string `json:"signature"`
	// 时间戳
	TimeStamp string `json:"timestamp"`
	// 随机字符串
	Nonce string `json:"nonce"`
}

type RESTfulAPIResult

type RESTfulAPIResult struct {
	Status  bool        `json:"status"`
	ErrCode int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type ScServer

type ScServer struct {
	// 监听IP
	Listen string `yaml:"listen" json:"listen"`
	// 监听端口
	Port int `yaml:"port" json:"port,int"`
	// HTML模板
	Templates string `yaml:"templates" json:"templates"`
}

type SystemConfiguration

type SystemConfiguration struct {
	// 服务器配置
	Server ScServer `yaml:"server" json:"server"`
	// 调试模式
	DebugMode bool `yaml:"debug" json:"debug"`
}

Jump to

Keyboard shortcuts

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