Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct{}
func NewBootstrap ¶
func NewBootstrap() *Bootstrap
func (*Bootstrap) BootstrapControllers ¶
func (b *Bootstrap) BootstrapControllers(db *dbCommon.DB) []httpCommon.Controller
type CategoryController ¶
type CategoryController struct {
// contains filtered or unexported fields
}
func NewCategoryController ¶
func NewCategoryController(service domain.CategoryService, responder CategoryResponder, reqHandler *CategoryRequestHandler) *CategoryController
func (*CategoryController) RegisterRoutes ¶
func (c *CategoryController) RegisterRoutes(r *mux.Router)
type CategoryRequestHandler ¶
type CategoryRequestHandler struct{}
func NewCategoryRequestHandler ¶
func NewCategoryRequestHandler() *CategoryRequestHandler
type CategoryResponder ¶
type CategoryResponder interface { RespondSuccessOk(w http.ResponseWriter, data any, n int) RespondSuccessNoContent(w http.ResponseWriter) RespondErrorNotFound(w http.ResponseWriter) RespondError(w http.ResponseWriter, message string, httpStatus int) }
Click to show internal directories.
Click to hide internal directories.