applicationconfig

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationConfig

type ApplicationConfig struct {
	Config            config.Config
	DB                *gorm.DB
	OAuth2Config      oauth2.Config
	AuthService       auth.Service
	UserService       user.Service
	PreferenceService preference.Service
	GithubService     github.Service
}

ApplicationConfig is an application config store used to store and get the application config & dependencies.

func NewApplicationConfig

func NewApplicationConfig(config config.Config, db *gorm.DB) *ApplicationConfig

NewApplicationConfig creates and returns an application config store.

Jump to

Keyboard shortcuts

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