Documentation
¶
Index ¶
- type Config
- type Service
- func (s *Service) CreateResources(resources []*base.Resource) error
- func (s *Service) GetResourceUrl() string
- func (s *Service) GetResourcesByIDs(ids []string) ([]*base.Resource, error)
- func (s *Service) GetResourcesByObjectID(objectID string) ([]*base.Resource, error)
- func (s *Service) Init(app sptty.ISptty) error
- func (s *Service) RemoveResourcesByIDs(ids []string) error
- func (s *Service) ServiceName() string
- func (s *Service) SetOssEndpoint(endpoint string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
sptty.BaseConfig
Url string `yaml:"url"`
OssEndpoint string `yaml:"ossEndpoint"`
}
func (*Config) ConfigName ¶
type Service ¶
type Service struct {
sptty.BaseService
base.IServiceResource
// contains filtered or unexported fields
}
func (*Service) CreateResources ¶
func (*Service) GetResourceUrl ¶
func (*Service) GetResourcesByIDs ¶
func (*Service) GetResourcesByObjectID ¶
func (*Service) RemoveResourcesByIDs ¶
func (*Service) ServiceName ¶
Click to show internal directories.
Click to hide internal directories.