services

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExistsNonce

func ExistsNonce(key int64) bool

func GetWeather

func GetWeather(ts, nonce int64, sign string, msg *WeatherRequest) WeatherResponse

func SetNonce

func SetNonce(key int64)

Types

type GlobalConfig

type GlobalConfig struct {
	Nonce sync.Map // 随机值
}

func GetGlobalConfig

func GetGlobalConfig() *GlobalConfig

Jump to

Keyboard shortcuts

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