Documentation
¶
Index ¶
- func StartApp(conf *config.Config)
- type CreateEmployeeSchema
- type CreateGuestSchema
- type CreateMenuSchema
- type CreatePlaceSchema
- type Front
- func (a *Front) GetCreateEmployee(c *fiber.Ctx) error
- func (a *Front) GetCreateGuest(c *fiber.Ctx) error
- func (a *Front) GetCreateMenu(c *fiber.Ctx) error
- func (a *Front) GetCreatePlace(c *fiber.Ctx) error
- func (a *Front) GetEmployee(c *fiber.Ctx) error
- func (a *Front) GetGuest(c *fiber.Ctx) error
- func (a *Front) GetMenu(c *fiber.Ctx) error
- func (a *Front) GetPlace(c *fiber.Ctx) error
- func (a *Front) Index(c *fiber.Ctx) error
- func (a *Front) PostCreateEmployee(c *fiber.Ctx) error
- func (a *Front) PostCreateGuest(c *fiber.Ctx) error
- func (a *Front) PostCreateMenu(c *fiber.Ctx) error
- func (a *Front) PostCreatePlace(c *fiber.Ctx) error
- func (a *Front) SearchEmployees(c *fiber.Ctx) error
- func (a *Front) SearchGuests(c *fiber.Ctx) error
- func (a *Front) SearchMenus(c *fiber.Ctx) error
- func (a *Front) SearchPlaces(c *fiber.Ctx) error
- type Middleware
- type SearchEmployeesSchema
- type SearchGuestsSchema
- type SearchMenusSchema
- type SearchPlacesSchema
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateEmployeeSchema ¶
type CreateEmployeeSchema struct {
Name *string `json:"name" xml:"name" form:"name"`
}
type CreateGuestSchema ¶
type CreateMenuSchema ¶
type CreateMenuSchema struct {
Name *string `json:"name" xml:"name" form:"name"`
}
type CreatePlaceSchema ¶
type CreatePlaceSchema struct {
Name *string `json:"name" xml:"name" form:"name"`
}
type Middleware ¶
type Middleware struct {
Session *session.Store
Service *service.Service
CsrfProtection func(*fiber.Ctx) error
}
func NewMiddleware ¶
func NewMiddleware(session *session.Store, service *service.Service) *Middleware
type SearchEmployeesSchema ¶
type SearchGuestsSchema ¶
type SearchMenusSchema ¶
type SearchPlacesSchema ¶
Click to show internal directories.
Click to hide internal directories.