Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseController ¶
DatabaseController is a contract what this controller can do
func NewDatabaseController ¶
func NewDatabaseController() DatabaseController
NewDatabaseController is the constructor
type NaturalQueryController ¶
The contract
func NewNaturalQueryController ¶
func NewNaturalQueryController() NaturalQueryController
The constructer
type NotesController ¶
type NotesController interface {
//GET HANDLER
GetAllNotes(c *fiber.Ctx) error
//POST HANDLER
CreateNewNotes(c *fiber.Ctx) error
//DELETE HANDLER
DeleteNotesHistory(c *fiber.Ctx) error
}
func NewNotesController ¶
func NewNotesController() NotesController
type TransactionController ¶
type TransactionController interface {
//GET HANDLER
GetAllTransactions(c *fiber.Ctx) error
GetOneTransaction(c *fiber.Ctx) error
GetAllStoredDatas(c *fiber.Ctx) error
GetOneStoredData(c *fiber.Ctx) error
//POST HANDLER
CreateNewTransaction(c *fiber.Ctx) error
//DELETE HANDLER
DeleteTransaction(c *fiber.Ctx) error
}
TransactionController is a contract what this controller can do
func NewTransactionController ¶
func NewTransactionController() TransactionController
NewTransactionController is the constructor
type UserController ¶
type UserController interface {
//GET HANDLER
GetAllUser(c *fiber.Ctx) error
GetOneUser(c *fiber.Ctx) error
//POST HANDLER
RegisterUser(c *fiber.Ctx) error
LoginUser(c *fiber.Ctx) error
//PUT HANDLER
UpdateUser(c *fiber.Ctx) error
//DELETE HANDLER
DeleteOneUser(c *fiber.Ctx) error
}
UserController is a contract what this controller can do
func NewUserController ¶
func NewUserController() UserController
NewUserController is the constructor
Click to show internal directories.
Click to hide internal directories.