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 (h *AuthConfigHandler) GetService() service.IAuthConfigService
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)
Click to show internal directories.
Click to hide internal directories.