app

package
v0.0.0-...-23da319 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Cfg         *config.Container
	HTTP        http.ServerMaker
	Token       auth.TokenMaker
	PG          db.EngineMaker
	Dragonfly   cache.CacheEngine
	UserRepo    user.UserRepositoryPort
	UserService user.UserServicePort
	AuthRepo    auth.SessionRepositoryPort
	AuthService auth.SessionServicePort
	// contains filtered or unexported fields
}

func New

func New(
	rw *sync.RWMutex,
	Cfg *config.Container,
	HTTP http.ServerMaker,
	Token auth.TokenMaker,
	PG db.EngineMaker,
	Dragonfly cache.CacheEngine,
	UserRepo user.UserRepositoryPort,
	UserService user.UserServicePort,
	AuthRepo auth.SessionRepositoryPort,
	AuthService auth.SessionServicePort) *App

func (*App) Run

func (a *App) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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