View Source COS.Utils (tencent_cloud_cos v0.1.1)

Link to this section Summary

Functions

根据 {amount, unit} 格式计算出多少秒

将驼峰 key 转换为下划线风格

对特殊符号进行编码 - 腾讯云文档

Link to this section Types

@type expire_in() :: pos_integer() | {pos_integer(), :second | :minute | :hour | :day}

Link to this section Functions

Link to this function

hmac(sub_type, key, data)

View Source
@spec to_seconds(expire_in :: expire_in()) :: pos_integer()

根据 {amount, unit} 格式计算出多少秒

@spec underscore_keys(value :: any()) :: any()

将驼峰 key 转换为下划线风格

@spec url_encode(value :: binary() | integer()) :: binary()

对特殊符号进行编码 - 腾讯云文档