application

package
v0.0.0-...-b8d2545 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 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 Dependencies

type Dependencies struct {
	SvcId     string
	Cfg       *config.Config
	Db        *sqlx.DB
	Log       *logger.Logger
	TokenAuth *jwtauth.JWTAuth
	Enforcer  *enforcer.Enforcer
}

Dependencies hold the primitives and structs and/or interfaces that are required for the application's business logic.

func BuildDependencies

func BuildDependencies(cfg *config.Config, log *logger.Logger) *Dependencies

BuildDependencies builds dependencies

Jump to

Keyboard shortcuts

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