utils

package
v1.63.30 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 20 Imported by: 75

Documentation

Overview

The utils package just degisned for github.com/aliyun/alibaba-clouc-sdk-go/sdk inner. Don't use it in other places, we don't keep compability We will change it to internal package in the future

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMD5Base64

func GetMD5Base64(bytes []byte) (base64Value string)

func GetNonce added in v1.62.568

func GetNonce() (uuidHex string)

func GetTimeInFormatISO8601

func GetTimeInFormatISO8601() (timeStr string)

func GetTimeInFormatRFC2616

func GetTimeInFormatRFC2616() (timeStr string)

func GetUrlFormedMap

func GetUrlFormedMap(source map[string]string) (urlEncoded string)

func InitStructWithDefaultTag deprecated

func InitStructWithDefaultTag(bean interface{})

Deprecated: don't use it

func Sha256WithRsa added in v1.62.801

func Sha256WithRsa(source, secret string) string

func ShaHmac1 added in v1.62.801

func ShaHmac1(source, secret string) string

Types

type Debug

type Debug func(format string, v ...interface{})

func Init

func Init(flag string) Debug

Jump to

Keyboard shortcuts

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