testconfig

package
v0.0.0-...-cef7651 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestConfig

type TestConfig struct {
	Database     TestDatabaseConfig
	RefreshToken TestRefreshTokenConfig
	SMTP         config.SMTPConfig
	JWT          config.JWTConfig
	Logging      config.LoggingConfig
	IP           string
	HashCost     int
}

func New

func New() *TestConfig

type TestDatabaseConfig

type TestDatabaseConfig struct {
	Driver        string
	DSN           string
	MigrationsDir string
}

type TestRefreshTokenConfig

type TestRefreshTokenConfig struct {
	GUID  string
	Value string
}

Jump to

Keyboard shortcuts

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