Documentation
¶
Index ¶
- type App
- func (a *App) Create(filepath string, edit bool, password string, isDir bool, ...) (string, error)
- func (a *App) Delete(id string) error
- func (a *App) Enabled() bool
- func (a *App) EventConsumer(e provider.Event)
- func (a *App) Get(requestPath string) provider.Share
- func (a *App) List() map[string]provider.Share
- func (a *App) Start(done <-chan struct{})
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (*App) Create ¶
func (a *App) Create(filepath string, edit bool, password string, isDir bool, duration time.Duration) (string, error)
Create a share
func (*App) EventConsumer ¶ added in v0.8.0
EventConsumer handle event pushed to the event bus
Click to show internal directories.
Click to hide internal directories.