Documentation ¶
Index ¶
- Variables
- func Auth(base64key string, ar domain.AuthService) fiber.Handler
- func GetAccountDTO(c *fiber.Ctx) error
- func GetGenericFilter(c *fiber.Ctx) error
- func GetOperatorDTO(c *fiber.Ctx) error
- func GetPasswordInputDTO(c *fiber.Ctx) error
- func GetPhoneDTO(c *fiber.Ctx) error
- func GetProfileDTO(c *fiber.Ctx) error
- func GetRequestLanguage(c *fiber.Ctx) error
- func GetSiteDTO(c *fiber.Ctx) error
- func GetUserDTO(c *fiber.Ctx) error
- func GetUserFilter(c *fiber.Ctx) error
- type RequesttMiddleware
- func (s *RequesttMiddleware) AccountByID(c *fiber.Ctx) error
- func (s *RequesttMiddleware) OperatorByID(c *fiber.Ctx) error
- func (s *RequesttMiddleware) PhoneByID(c *fiber.Ctx) error
- func (s *RequesttMiddleware) ProfileByID(c *fiber.Ctx) error
- func (s *RequesttMiddleware) SiteByID(c *fiber.Ctx) error
- func (s *RequesttMiddleware) UserByID(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MidAccess fiber.Handler MidRefresh fiber.Handler )
View Source
var ErrInvalidID error = errors.New("invalid id")
Functions ¶
func Auth ¶
func Auth(base64key string, ar domain.AuthService) fiber.Handler
func GetAccountDTO ¶
func GetAccountDTO(c *fiber.Ctx) error
func GetGenericFilter ¶
func GetGenericFilter(c *fiber.Ctx) error
func GetOperatorDTO ¶
func GetOperatorDTO(c *fiber.Ctx) error
func GetPasswordInputDTO ¶
func GetPasswordInputDTO(c *fiber.Ctx) error
func GetPhoneDTO ¶
func GetPhoneDTO(c *fiber.Ctx) error
func GetProfileDTO ¶
func GetProfileDTO(c *fiber.Ctx) error
func GetRequestLanguage ¶
func GetRequestLanguage(c *fiber.Ctx) error
func GetSiteDTO ¶
func GetSiteDTO(c *fiber.Ctx) error
func GetUserDTO ¶
func GetUserDTO(c *fiber.Ctx) error
func GetUserFilter ¶
func GetUserFilter(c *fiber.Ctx) error
Types ¶
type RequesttMiddleware ¶
type RequesttMiddleware struct {
// contains filtered or unexported fields
}
func NewRequesttMiddleware ¶
func NewRequesttMiddleware(postgres *gorm.DB) *RequesttMiddleware
func (*RequesttMiddleware) AccountByID ¶
func (s *RequesttMiddleware) AccountByID(c *fiber.Ctx) error
func (*RequesttMiddleware) OperatorByID ¶
func (s *RequesttMiddleware) OperatorByID(c *fiber.Ctx) error
func (*RequesttMiddleware) PhoneByID ¶
func (s *RequesttMiddleware) PhoneByID(c *fiber.Ctx) error
func (*RequesttMiddleware) ProfileByID ¶
func (s *RequesttMiddleware) ProfileByID(c *fiber.Ctx) error
func (*RequesttMiddleware) SiteByID ¶
func (s *RequesttMiddleware) SiteByID(c *fiber.Ctx) error
func (*RequesttMiddleware) UserByID ¶
func (s *RequesttMiddleware) UserByID(c *fiber.Ctx) error
Click to show internal directories.
Click to hide internal directories.