Documentation ¶
Index ¶
- Variables
- func NewAdmin() I.IAdmin
- func NewProduct() I.IProduct
- func NewUserFunc() I.IUser
- type Admin
- func (*Admin) AdminRefresh(c *fiber.Ctx) error
- func (*Admin) DeliveryStatusUpdate(c *fiber.Ctx) error
- func (*Admin) Login(c *fiber.Ctx) error
- func (*Admin) Logout(c *fiber.Ctx) error
- func (*Admin) ManageUser(c *fiber.Ctx) error
- func (*Admin) Signup(c *fiber.Ctx) error
- func (*Admin) UserManagement(c *fiber.Ctx) error
- func (*Admin) Validate(c *fiber.Ctx) error
- func (*Admin) ViewOrders(c *fiber.Ctx) error
- func (*Admin) ViewUsers(c *fiber.Ctx) error
- type Products
- type User
- func (*User) AddToCart(c *fiber.Ctx) error
- func (*User) Checkout(c *fiber.Ctx) error
- func (*User) EditUserInfo(c *fiber.Ctx) error
- func (*User) First(c *fiber.Ctx) error
- func (*User) GenerateInvoice(c *fiber.Ctx) error
- func (*User) Home(c *fiber.Ctx) error
- func (*User) OrderFromCart(c *fiber.Ctx) error
- func (*User) Refresh(c *fiber.Ctx) error
- func (*User) RemoveFromCart(c *fiber.Ctx) error
- func (*User) UserLogin(c *fiber.Ctx) error
- func (*User) UserLogout(c *fiber.Ctx) error
- func (*User) UserSignup(c *fiber.Ctx) error
- func (*User) Verification(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
View Source
var BillGen = utils.NewBillGenerator()
View Source
var DB = database.NewDatabaseConnection()
View Source
var Token = utils.NewToken()
Functions ¶
func NewProduct ¶
func NewUserFunc ¶
Types ¶
type Admin ¶
type Admin struct{}
func (*Admin) AdminRefresh ¶
func (*Admin) DeliveryStatusUpdate ¶
func (*Admin) ManageUser ¶
func (*Admin) UserManagement ¶
func (*Admin) ViewOrders ¶
type Products ¶
type Products struct{}
func (*Products) AddProducts ¶
func (*Products) DelProduct ¶
func (*Products) GetbyCategory ¶
func (*Products) SearchProduct ¶
func (*Products) ViewProducts ¶
type User ¶
type User struct{}
func (*User) EditUserInfo ¶
func (*User) GenerateInvoice ¶
func (*User) OrderFromCart ¶
func (*User) RemoveFromCart ¶
func (*User) UserLogout ¶
func (*User) UserSignup ¶
func (*User) Verification ¶
Click to show internal directories.
Click to hide internal directories.