Documentation ¶
Index ¶
- Constants
- type ApplicationService
- func (s *ApplicationService) Application(ctx context.Context, id string) (*baas.Application, error)
- func (s *ApplicationService) Applications(ctx context.Context, sinceID string, limit int) ([]*baas.Application, error)
- func (s *ApplicationService) Create(ctx context.Context, n *baas.NewApplication) (*baas.Application, error)
- func (s *ApplicationService) Delete(ctx context.Context, id string) error
- func (s *ApplicationService) FileBlobStorage(engine, accessKey, secretKey, region, endpoint string) (baas.FileBlobStorage, error)
- func (s *ApplicationService) Update(ctx context.Context, u *baas.UpdateApplication) (*baas.Application, error)
- type FileBlobStorage
- type FileService
- func (s *FileService) ApplicationFiles(ctx context.Context, appID, sinceID string, limit int) ([]*baas.File, error)
- func (s *FileService) Create(ctx context.Context, n *baas.NewFile) (*baas.File, error)
- func (s *FileService) Delete(ctx context.Context, id string) error
- func (s *FileService) File(ctx context.Context, id string) (*baas.File, error)
- type FileStorage
- type UploadService
Constants ¶
View Source
const TestID = "7c63f04d-6d6d-4d9b-851c-cdd05d406b21"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationService ¶
type ApplicationService struct { }
func (*ApplicationService) Application ¶
func (s *ApplicationService) Application(ctx context.Context, id string) (*baas.Application, error)
func (*ApplicationService) Applications ¶
func (*ApplicationService) Create ¶
func (s *ApplicationService) Create(ctx context.Context, n *baas.NewApplication) (*baas.Application, error)
func (*ApplicationService) Delete ¶
func (s *ApplicationService) Delete(ctx context.Context, id string) error
func (*ApplicationService) FileBlobStorage ¶
func (s *ApplicationService) FileBlobStorage(engine, accessKey, secretKey, region, endpoint string) (baas.FileBlobStorage, error)
type FileBlobStorage ¶
type FileBlobStorage struct { }
func (*FileBlobStorage) CreateBucket ¶
func (s *FileBlobStorage) CreateBucket(ctx context.Context, bucket string) error
type FileService ¶
type FileService struct { }
func (*FileService) ApplicationFiles ¶
type FileStorage ¶
type FileStorage struct { }
type UploadService ¶
type UploadService struct { }
func (*UploadService) ChunkUpload ¶
func (*UploadService) CompleteChunkUpload ¶
Click to show internal directories.
Click to hide internal directories.