Documentation
¶
Index ¶
- func CalcNextNotifyTime(base time.Time, num int) time.Time
- func Capitalize(s string) string
- func Ec(str string) string
- func EpusdtSign(data map[string]interface{}, token string) string
- func GenerateTradeId() (string, error)
- func HexStr2Int(str string) *big.Int
- func InStrings(str string, list []string) bool
- func IsExist(path string) bool
- func IsNumber(s string) bool
- func IsValidAptosAddress(address string) bool
- func IsValidEvmAddress(address string) bool
- func IsValidSolanaAddress(address string) bool
- func IsValidTronAddress(address string) bool
- func MaskAddress(address string) string
- func MaskAddress2(address string) string
- func MaskHash(hash string) string
- func Md5String(text string) string
- func NewHttpClient() *http.Client
- func NewTronGrpcClient(apiNode, apiKey string) (*grpc.ClientConn, error)
- func StrSha256(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func EpusdtSign ¶
func GenerateTradeId ¶
func HexStr2Int ¶
func IsValidAptosAddress ¶
func IsValidEvmAddress ¶
func IsValidSolanaAddress ¶
func IsValidTronAddress ¶
func MaskAddress ¶
func MaskAddress2 ¶
func NewHttpClient ¶
func NewTronGrpcClient ¶
func NewTronGrpcClient(apiNode, apiKey string) (*grpc.ClientConn, error)
NewTronGrpcClient 目前很多 TRON API 基本都有QPS限制,过于激进或者过于保守的重试策略都不合适
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.