Documentation
¶
Index ¶
- Constants
- type Config
- type Service
- func (s Service) AMQPHandler(ctx context.Context, message amqp.Delivery) (err error)
- func (s Service) CanHaveThumbnail(item absto.Item) bool
- func (s Service) EventConsumer(ctx context.Context, e provider.Event)
- func (s Service) GetChunk(ctx context.Context, pathname string) (absto.Item, error)
- func (s Service) HasLargeThumbnail(ctx context.Context, item absto.Item) bool
- func (s Service) HasStream(ctx context.Context, item absto.Item) bool
- func (s Service) HasThumbnail(ctx context.Context, item absto.Item, scale uint64) bool
- func (s Service) Info(ctx context.Context, pathname string) (item absto.Item, err error)
- func (s Service) LargeThumbnailSize() uint64
- func (s Service) List(w http.ResponseWriter, r *http.Request, item absto.Item, items []absto.Item)
- func (s Service) ListDir(ctx context.Context, item absto.Item) (map[string]absto.Item, error)
- func (s Service) ListDirLarge(ctx context.Context, item absto.Item) (map[string]absto.Item, error)
- func (s Service) Path(item absto.Item) string
- func (s Service) PathForLarge(item absto.Item) string
- func (s Service) PathForScale(item absto.Item, scale uint64) string
- func (s Service) Rename(ctx context.Context, old, new absto.Item) error
- func (s Service) Serve(w http.ResponseWriter, r *http.Request, item absto.Item)
- func (s Service) Stream(w http.ResponseWriter, r *http.Request, item absto.Item)
Constants ¶
View Source
const SmallSize uint64 = 150
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Service ¶ added in v0.26.0
type Service struct {
// contains filtered or unexported fields
}
func (Service) AMQPHandler ¶ added in v0.26.0
func (Service) CanHaveThumbnail ¶ added in v0.26.0
func (Service) EventConsumer ¶ added in v0.26.0
func (Service) HasLargeThumbnail ¶ added in v0.26.0
func (Service) HasThumbnail ¶ added in v0.26.0
func (Service) LargeThumbnailSize ¶ added in v0.26.0
func (Service) ListDirLarge ¶ added in v0.26.0
func (Service) PathForLarge ¶ added in v0.26.0
func (Service) PathForScale ¶ added in v0.26.0
Click to show internal directories.
Click to hide internal directories.