Documentation ¶
Index ¶
- func BaseController(app *fiber.App, appServices services.BaseService, session *session.Store)
- func EntrepreneurRoute(router fiber.Router, services service.BaseService, session *session.Store)
- func EventRouter(router fiber.Router, services service.BaseService, session *session.Store)
- func InstituteRouter(router fiber.Router, services service.BaseService, session *session.Store)
- func RewardRouter(router fiber.Router, services service.BaseService, session *session.Store)
- func SolutionRouter(router fiber.Router, services service.BaseService, session *session.Store)
- func TeamRouter(router fiber.Router, services service.BaseService, session *session.Store)
- func TraineeRoute(router fiber.Router, services service.BaseService, session *session.Store)
- func UserRoute(router fiber.Router, services service.BaseService, session *session.Store)
- type Centre
- type Entrepreneur
- type Event
- type Reward
- type Solution
- type Team
- type Trainee
- type User
- func (u *User) Add(ctx *fiber.Ctx) error
- func (u *User) ChangePassword(ctx *fiber.Ctx) error
- func (u *User) Edit(ctx *fiber.Ctx) error
- func (u *User) GetPassword(ctx *fiber.Ctx) error
- func (u *User) Login(ctx *fiber.Ctx) error
- func (u *User) Logout(ctx *fiber.Ctx) error
- func (u *User) Me(ctx *fiber.Ctx) error
- func (u *User) Remove(ctx *fiber.Ctx) error
- func (u *User) User(ctx *fiber.Ctx) error
- func (u *User) Users(ctx *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseController ¶
func BaseController(app *fiber.App, appServices services.BaseService, session *session.Store)
func EntrepreneurRoute ¶
func EntrepreneurRoute(router fiber.Router, services service.BaseService, session *session.Store)
func EventRouter ¶
func EventRouter(router fiber.Router, services service.BaseService, session *session.Store)
func InstituteRouter ¶
func InstituteRouter(router fiber.Router, services service.BaseService, session *session.Store)
func RewardRouter ¶
func RewardRouter(router fiber.Router, services service.BaseService, session *session.Store)
func SolutionRouter ¶
func SolutionRouter(router fiber.Router, services service.BaseService, session *session.Store)
func TeamRouter ¶
func TeamRouter(router fiber.Router, services service.BaseService, session *session.Store)
func TraineeRoute ¶
func TraineeRoute(router fiber.Router, services service.BaseService, session *session.Store)
Types ¶
type Centre ¶
type Centre struct { Service service.InstituteService Session *session.Store }
func InstituteConstructor ¶
func InstituteConstructor(appInterface service.InstituteService, session *session.Store) *Centre
InstituteConstructor Supply constructor
type Entrepreneur ¶
type Entrepreneur struct { Service service.EntrepreneurService Session *session.Store }
func EntrepreneurConstructor ¶
func EntrepreneurConstructor(service service.EntrepreneurService, session *session.Store) *Entrepreneur
func (*Entrepreneur) Add ¶
func (t *Entrepreneur) Add(ctx *fiber.Ctx) error
func (*Entrepreneur) Get ¶
func (t *Entrepreneur) Get(ctx *fiber.Ctx) error
func (*Entrepreneur) List ¶
func (t *Entrepreneur) List(ctx *fiber.Ctx) error
type Event ¶
type Event struct { Service service.EventService Session *session.Store }
func EventConstructor ¶
func EventConstructor(appInterface service.EventService, session *session.Store) *Event
EventConstructor event constructor
type Reward ¶
type Reward struct { Service service.RewardService Session *session.Store }
func RewardConstructor ¶
func RewardConstructor(appInterface service.RewardService, session *session.Store) *Reward
RewardConstructor reward constructor
type Solution ¶
type Solution struct { Service service.SolutionService Session *session.Store }
func SolutionConstructor ¶
func SolutionConstructor(appInterface service.SolutionService, session *session.Store) *Solution
SolutionConstructor solution constructor
func (*Solution) AddedReward ¶
type Team ¶
type Team struct { Service service.TeamService Session *session.Store }
func TeamConstructor ¶
func TeamConstructor(appInterface service.TeamService, session *session.Store) *Team
type Trainee ¶
type Trainee struct { Service service.TraineeService Session *session.Store }
func TraineeConstructor ¶
func TraineeConstructor(service service.TraineeService, session *session.Store) *Trainee
Click to show internal directories.
Click to hide internal directories.