common

package
v0.0.0-...-4d04b2c Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAirWallexRedisAccessToken

func GetAirWallexRedisAccessToken(xClientId string) string

func GetMainUrl

func GetMainUrl(ctx *gin.Context) (string, bool)

func HttpRequest

func HttpRequest(url string, method string, header map[string]string, body io.Reader) ([]byte, *http.Header, error)

func PostRequest

func PostRequest(url string, jsonReq []byte) ([]byte, error)

func RandomInRange

func RandomInRange(min, max int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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