Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) Delete(endpoint string, key string) error
- func (s *Service) GetConfig() map[string]base.Endpoint
- func (s *Service) GetObject(endpoint string, key string) ([]byte, error)
- func (s *Service) Init(app sptty.ISptty) error
- func (s *Service) ListObjects(endpoint string, prefix string, token string) ([]string, string, error)
- func (s *Service) ServiceName() string
- func (s *Service) Upload(endpoint string, key string, data []byte, opt ...interface{}) error
- func (s *Service) UploadFromFile(endpoint string, key string, filepath string, opt ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) ConfigName ¶
type Service ¶
type Service struct { sptty.BaseService base.IServiceOss // contains filtered or unexported fields }
func (*Service) ListObjects ¶
func (*Service) ServiceName ¶
Click to show internal directories.
Click to hide internal directories.