services

package
v0.0.0-...-9b4e594 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Broker

type Broker interface {
	SendEvent(models.Event) error
}

type FileServer

type FileServer interface {
	Glob(context.Context, string) ([]string, error)
	Open(context.Context, string) (io.ReadSeekCloser, error)
	Move(context.Context, string, string) error
	Stat(context.Context, string) (fs.FileInfo, error)
	AcquireLock(context.Context, string) (Locker, error)
}

type Locker

type Locker = models.Locker

type Storage

type Storage interface {
	SendFile(context.Context, string, io.ReadSeeker) (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL