services

package
v0.0.0-...-1b52060 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: MIT Imports: 69 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrShareNotFound   = errors.New("share not found")
	ErrInvalidPassword = errors.New("invalid password")
	ErrEmptyAuth       = errors.New("empty auth")
	ErrShareExpired    = errors.New("share expired")
)
View Source
var (
	ErrUploadFailed = errors.New("upload failed")
)
View Source
var (
	ErrorStreamAbandoned = errors.New("stream abandoned")
)

Functions

func NewApiService

func NewApiService(db *gorm.DB,
	cnf *config.ServerCmdConfig,
	cache cache.Cacher,
	tgdb *gorm.DB,
	worker *tgc.BotWorker,
	events *events.Recorder) *apiService

func NewExtendedMiddleware

func NewExtendedMiddleware(next *api.Server, srv *extendedService) *extendedMiddleware

func NewExtendedService

func NewExtendedService(api *apiService) *extendedService

Types

This section is empty.

Jump to

Keyboard shortcuts

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