auth_config

package
v2.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 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 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