ioc

package
v0.0.0-...-1967991 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	// contains filtered or unexported fields
}

func New

func New(timeProvider timeprovider.TimeProvider, logger *logrus.Logger, rawDatabase *sqlx.DB, storageDir string, staticFilesPath string) (Container, error)

func (*Container) CreateAuthMiddleware

func (ioc *Container) CreateAuthMiddleware() route.AuthMiddleware

func (*Container) CreateControllers

func (ioc *Container) CreateControllers() []route.Controller

func (*Container) CreateMiddlewares

func (ioc *Container) CreateMiddlewares() []route.Middleware

func (*Container) CreateStorage

func (ioc *Container) CreateStorage() storage.Storage

Jump to

Keyboard shortcuts

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