Documentation
¶
Index ¶
- type App
- func (a *App) AMQPHandler(_ context.Context, message amqp.Delivery) error
- func (a *App) Create(ctx context.Context, filepath string, edit, story bool, password string, ...) (string, error)
- func (a *App) Delete(ctx context.Context, id string) error
- func (a *App) EventConsumer(ctx context.Context, e provider.Event)
- func (a *App) Exclusive(ctx context.Context, name string, duration time.Duration, ...) (bool, error)
- func (a *App) Get(requestPath string) provider.Share
- func (a *App) List() (output []provider.Share)
- func (a *App) Start(ctx context.Context)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
func (*App) AMQPHandler ¶ added in v0.23.0
func (*App) Create ¶
func (a *App) Create(ctx context.Context, filepath string, edit, story 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.