handler

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKeyRequired = apperr.New("key_is_required",
		apperr.WithTextTranslate(translator.Translate{translator.RU: "Ключ не найден", translator.EN: "Key not found"}),
		apperr.WithCode(code.InvalidArgument),
	)

	ErrKeyNotFound = apperr.New("key_not_found",
		apperr.WithTextTranslate(translator.Translate{translator.RU: "Ключ не найден", translator.EN: "Key not found"}),
		apperr.WithCode(code.NotFound),
	)
)

Functions

This section is empty.

Types

type AuthConfigHandler

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

func NewAuthConfigHandlers

func NewAuthConfigHandlers(
	authConfigService service.IAuthConfigService,
	tr mw.ITransaction,
) *AuthConfigHandler

func (*AuthConfigHandler) GetByKey

func (h *AuthConfigHandler) GetByKey(c *gin.Context)

func (*AuthConfigHandler) GetService

func (*AuthConfigHandler) Init

func (h *AuthConfigHandler) Init(secured *gin.RouterGroup)

func (*AuthConfigHandler) List

func (h *AuthConfigHandler) List(c *gin.Context)

func (*AuthConfigHandler) Update

func (h *AuthConfigHandler) Update(c *gin.Context)

Jump to

Keyboard shortcuts

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