Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 Changes in this version type AKSKOptions + Cloud string + SecurityToken string v1.0.12 Apr 7, 2019 Changes in this version + const ContentSha256HeaderKey + const SignAlgorithmHMACSHA256 + func HashSha256(msg []byte) []byte + func HmacSha256(data string, key []byte) []byte + func Sign(req *http.Request, signOptions SignOptions) + type AKSKOptions struct + AccessKey string + Domain string + DomainID string + IdentityEndpoint string + ProjectID string + Region string + SecretKey string + func (opts AKSKOptions) GetDomainId() string + func (opts AKSKOptions) GetIdentityEndpoint() string + func (opts AKSKOptions) GetProjectId() string + type MemoryCache struct + MaxCount int + func NewCache(maxCount int) *MemoryCache + func (cache *MemoryCache) Add(cacheKey string, cacheData string) + func (cache *MemoryCache) Get(cacheKey string) string + type SignOptions struct + AccessKey string + EnableCacheSignKey bool + RegionName string + SecretKey string + ServiceName string + SignAlgorithm string + TimeOffsetInseconds int64 + type StringBuilder struct + func (buff *StringBuilder) GetBytes() []byte + func (buff *StringBuilder) ToString() string + func (buff *StringBuilder) Write(s string) *StringBuilder