Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseNodeVersion ¶ added in v0.32.0
BaseNodeVersion is minimal node info from tree service. Basically used for "system" object.
type BucketInfo ¶
type CORSConfiguration ¶ added in v0.33.0
type CORSConfiguration struct {
CORSRules []CORSRule `xml:"CORSRule" json:"CORSRules"`
}
CORSConfiguration stores CORS configuration of a request.
type CORSRule ¶ added in v0.33.0
type CORSRule struct { AllowedHeaders []string `xml:"AllowedHeader" json:"AllowedHeaders"` AllowedMethods []string `xml:"AllowedMethod" json:"AllowedMethods"` AllowedOrigins []string `xml:"AllowedOrigin" json:"AllowedOrigins"` ExposeHeaders []string `xml:"ExposeHeader" json:"ExposeHeaders"` MaxAgeSeconds int `xml:"MaxAgeSeconds,omitempty" json:"MaxAgeSeconds,omitempty"` AllowedCredentials bool `xml:"AllowedCredentials,omitempty" json:"AllowedCredentials,omitempty"` }
CORSRule stores rules for CORS configuration.
type NodeVersion ¶ added in v0.32.0
type NodeVersion struct {
BaseNodeVersion
}
NodeVersion represent node from tree service.
Click to show internal directories.
Click to hide internal directories.