Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileContentService ¶
type FileContentService interface { Create(ctx context.Context) error Append(ctx context.Context, req *models.WriteRequest) error Download(ctx context.Context) ([]byte, error) GetFileCount() uint32 GetServerTime() time.Time }
FileContentService ...
type FileSvc ¶
type FileSvc struct {
// contains filtered or unexported fields
}
FileSvc ...
func NewFileSvc ¶
func NewFileSvc(repo *repository.Repository) *FileSvc
func (*FileSvc) GetFileCount ¶
GetFileCount get file count
func (*FileSvc) GetServerTime ¶
GetServerTime get server time
type Service ¶
type Service struct {
FileContentService
}
func NewService ¶
func NewService(repo *repository.Repository) *Service
Click to show internal directories.
Click to hide internal directories.