auth_config

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig added in v2.4.0

type AuthConfig struct {
	// contains filtered or unexported fields
}

func (*AuthConfig) GetService added in v2.4.0

func (e *AuthConfig) GetService() service.IAuthConfigService

func (*AuthConfig) Init added in v2.4.0

func (e *AuthConfig) Init(ctx context.Context) error

func (*AuthConfig) InitHandler added in v2.4.0

func (e *AuthConfig) InitHandler(secured *gin.RouterGroup)

func (*AuthConfig) SetConfig added in v2.4.0

func (e *AuthConfig) SetConfig(ctx context.Context, key string, value configurator.Configurator) error

type Config added in v2.4.0

type Config interface {
	InitHandler(secured *gin.RouterGroup)
	GetService() service.IAuthConfigService
	SetConfig(ctx context.Context, key string, value configurator.Configurator) error
	Init(ctx context.Context) error
}

func NewAuthConfig

func NewAuthConfig(db *gorm.DB, tr mw.ITransaction) Config

type Configurator added in v2.4.0

type Configurator interface {
	service.IAuthConfigService
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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