Documentation
¶
Index ¶
- Variables
- func NewDirectoryController(service *Service) chi.Router
- type Service
- func (s *Service) AddFileChunk(ctx context.Context, reference string, r io.Reader) error
- func (s *Service) CommitFile(ctx context.Context, reference string) error
- func (s *Service) CreateDirectory(ctx context.Context, path string) error
- func (s *Service) DeletePaths(ctx context.Context, paths []string) error
- func (s *Service) InitFile(ctx context.Context, path, name string, size uint) (string, error)
- func (s *Service) ListEntries(ctx context.Context, path string) ([]fs.FileInfo, error)
- func (s Service) SendLoginEmail(recipient mail.Address, token legacyweb.TokenID) error
- func (s *Service) ZipPaths(ctx context.Context, w io.Writer, paths []string) error
- type UserData
Constants ¶
This section is empty.
Variables ¶
View Source
var AssetsFS embed.FS
View Source
var TemplatesFS embed.FS
Functions ¶
func NewDirectoryController ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AddFileChunk ¶
func (*Service) CommitFile ¶
func (*Service) CreateDirectory ¶
func (*Service) DeletePaths ¶
func (*Service) ListEntries ¶
func (Service) SendLoginEmail ¶
Click to show internal directories.
Click to hide internal directories.