Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliyunHandlerRequest ¶
func AliyunHandlerRequest(w http.ResponseWriter, r *http.Request)
Types ¶
type CallbackParam ¶
type ConfigStruct ¶
type EscapeError ¶
type EscapeError string
func (EscapeError) Error ¶
func (e EscapeError) Error() string
type InvalidHostError ¶
type InvalidHostError string
func (InvalidHostError) Error ¶
func (e InvalidHostError) Error() string
type PolicyToken ¶
type PolicyToken struct { AccessKeyId string `json:"OSSAccessKeyId"` Host string `json:"host"` Expire int64 `json:"expire"` Signature string `json:"signature"` Policy string `json:"policy"` Directory string `json:"dir"` Callback string `json:"callback,omitempty"` }
func Get_im_policy_token ¶ added in v1.0.6
func Get_im_policy_token(upload_dir string) PolicyToken
获取签名
Click to show internal directories.
Click to hide internal directories.