Documentation ¶
Index ¶
- type ServeService
- type Service
- func (s *Service) ApplicationFiles(ctx context.Context, applicationID, sinceID string, limit int) ([]*gisvs.File, error)
- func (s *Service) Create(ctx context.Context, n *gisvs.NewFile) (*gisvs.File, error)
- func (s *Service) Delete(ctx context.Context, id string) error
- func (s *Service) File(ctx context.Context, id string) (*gisvs.File, error)
- type TransformService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServeService ¶
type ServeService struct { FileStorage gisvs.FileStorage UsageService gisvs.UsageService ApplicationService gisvs.ApplicationService TransformService gisvs.TransformService FullFileDir string Log zerolog.Logger }
type Service ¶
type Service struct {
FileStorage gisvs.FileStorage
}
Service is the implementation of the file service interface. It will handle the apps business logic concerning files.
func (*Service) ApplicationFiles ¶
type TransformService ¶
type TransformService struct { UsageService gisvs.UsageService TransformStorage gisvs.TransformStorage MaxTransformFileSize int64 Log zerolog.Logger }
Click to show internal directories.
Click to hide internal directories.