Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UsgReqIdHeaderKey = "usg-Req-Id"
)
Functions ¶
This section is empty.
Types ¶
type CreateBucketRequest ¶
type UsgBucketNameSorter ¶
type UsgBucketNameSorter []*UsgBucket
func (UsgBucketNameSorter) Len ¶
func (u UsgBucketNameSorter) Len() int
func (UsgBucketNameSorter) Less ¶
func (u UsgBucketNameSorter) Less(i, j int) bool
func (UsgBucketNameSorter) Swap ¶
func (u UsgBucketNameSorter) Swap(i, j int)
type UsgError ¶
func NewInvalidArgument ¶
func NewUsgError ¶
func (*UsgError) ToUsgErrorBody ¶
func (e *UsgError) ToUsgErrorBody(c *gin.Context) *UsgErrorBody
type UsgErrorBody ¶
type UsgErrorBody struct { XMLName xml.Name `xml:"Error" json:"-"` // 指定根节点名称 Code string Message string Resource string RequestId string }
func (*UsgErrorBody) Error ¶
func (e *UsgErrorBody) Error() string
type UsgObjectNameSorter ¶
type UsgObjectNameSorter []*UsgObject
func (UsgObjectNameSorter) Len ¶
func (u UsgObjectNameSorter) Len() int
func (UsgObjectNameSorter) Less ¶
func (u UsgObjectNameSorter) Less(i, j int) bool
func (UsgObjectNameSorter) Swap ¶
func (u UsgObjectNameSorter) Swap(i, j int)
type UsgReqHeaderCtx ¶
type UsgReqHeaderCtx struct{}
type UsgReqURICtx ¶
type UsgReqURICtx struct{}
type UsgRespCtx ¶
type UsgRespCtx struct{}
Click to show internal directories.
Click to hide internal directories.