Documentation
¶
Index ¶
- Variables
- func Get(uri string) (string, error)
- func GetClientIP(c *gin.Context) string
- func GetCurrentDirectory() string
- func GetLocationByIp(ip string) (location *qqwry.Location, err error)
- func GetSimpleArea(val string) string
- func InitChunZhenIp()
- func InitConfig(cmd string)
- func InitOrderGenerator(workerId int64)
- func Post(uri string, params map[string]any) (string, error)
- func ResizeByBase64(base64Str string, percent int) (string, error)
- type OrderNoGenerator
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RuntimePath = "" //运行路径
)
Functions ¶
func GetCurrentDirectory ¶
func GetCurrentDirectory() string
func InitChunZhenIp ¶
func InitChunZhenIp()
func InitConfig ¶
func InitConfig(cmd string)
Types ¶
type OrderNoGenerator ¶
type OrderNoGenerator struct {
// contains filtered or unexported fields
}
var OrderGenerator *OrderNoGenerator
func NewOrderNoGenerator ¶
func NewOrderNoGenerator(workerId int64) (*OrderNoGenerator, error)
NewOrderNoGenerator 创建订单号生成器实例
Click to show internal directories.
Click to hide internal directories.