Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBInterface ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(savetodb string, dburi string, dbinterface DBInterface) *UserController
func (*UserController) PerformCalculateProfit ¶
func (u *UserController) PerformCalculateProfit(w http.ResponseWriter, r *http.Request)
func (*UserController) ShowAllRevenue ¶
func (u *UserController) ShowAllRevenue(w http.ResponseWriter, r *http.Request)
func (*UserController) WireRoutes ¶
func (u *UserController) WireRoutes(r chi.Router)
Click to show internal directories.
Click to hide internal directories.