infrastructure

package
v0.0.0-...-cee649a Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraConfigFile

type InfraConfigFile struct {
	LogMapConf string
	SmsSE      string
	DbSE       string
	LoginConf  string
	LoginSec   string
}

type Infrastructure

type Infrastructure struct {
	TheSmsService shortMessageService.SmsService

	TheDbSecurity databaseSecurity.DbSecurity
	TheDb         *sqlx.DB
	TheRedis      *redisOps.Redis

	TheLoginConfig   userConfig.LoginConfig
	TheLoginSecurity userSecurity.LoginSecurity

	TheUserDB     userDB.UserDB
	TheUserDM     userDM.UserDM
	TheUserTempDM userTempDM.UserTempDM

	TheExtractor extractLoginUserInfo.Extractor

	TheGeneralFormDraftDB generalFormDraftDB.GeneralFormDraftDB

	TheApplicationDB applicationDB.ApplicationDB
	TheApplicationDM applicationDM.ApplicationDM

	TheProjectDB projectDB.ProjectDB
	TheProjectDM projectDM.ProjectDM

	TheProjectResDM projectResDM.ProjectResDM

	TheLogMap logMap.LogMap

	SchClient client.SchedulingClient
	MetClient client.MeteringClient
}

func NewInfrastructure

func NewInfrastructure(icf InfraConfigFile) *Infrastructure

Jump to

Keyboard shortcuts

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