Documentation ¶
Index ¶
- Constants
- func IsErrorInit() bool
- type Helper
- func (c *Helper) Close(req *http.Request, rsp *http.Response)
- func (c *Helper) GetBucketAws() *string
- func (c *Helper) GetBucketName() string
- func (c *Helper) GetCloser(req *http.Request, rsp *http.Response) []io.Closer
- func (cli *Helper) GetContext() context.Context
- func (cli Helper) GetError(err ...error) liberr.Error
- func (c *Helper) GetRegion() string
- func (c *Helper) GetRegionAws() *string
- func (c *Helper) SetBucketName(bucket string)
Constants ¶
View Source
const ( // minmal are liberr.MIN_AVAILABLE + get a hope free range 1000 + 10 for aws-config liberr. ErrorResponse liberr.CodeError = iota + liberr.MinPkgAws + 60 ErrorConfigEmpty ErrorAwsEmpty ErrorAws ErrorBucketNotFound ErrorParamsEmpty )
View Source
const ( STATE_SUSPENDED = "Suspended" STATE_ENABLED = "Enabled" )
Variables ¶
This section is empty.
Functions ¶
func IsErrorInit ¶
func IsErrorInit() bool
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func (*Helper) GetBucketAws ¶
func (*Helper) GetBucketName ¶
func (*Helper) GetContext ¶
func (*Helper) GetRegionAws ¶ added in v1.5.0
func (*Helper) SetBucketName ¶
Click to show internal directories.
Click to hide internal directories.