Documentation ¶
Overview ¶
Package rest provides RESTful serialisation of AWS requests and responses.
Index ¶
Constants ¶
View Source
const RFC822 = "Mon, 2 Jan 2006 15:04:05 GMT"
RFC822 returns an RFC822 formatted timestamp for AWS protocols
Variables ¶
This section is empty.
Functions ¶
func EscapePath ¶
EscapePath escapes part of a URL path in Amazon style
path The path segment to escape encodeSep If true, '/' will be encoded, otherwise they will not
func PayloadMd5 ¶ added in v1.2.2
func PayloadMd5(i interface{}) (hasField bool)
PayloadMd5 判断给定结构体 i 中是否有 AutoFillMD5 字段
func PayloadMember ¶
func PayloadMember(i interface{}) interface{}
PayloadMember returns the payload field member of i if there is one, or nil.
func PayloadType ¶
func PayloadType(i interface{}) string
PayloadType returns the type of a payload field member of i if there is one, or "".
func UnmarshalMeta ¶ added in v1.2.7
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.