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 RandomAffirmationController ¶
type RandomAffirmationController struct {
// contains filtered or unexported fields
}
func NewRandomAffirmationController ¶
func NewRandomAffirmationController(service domain.RandomAffirmationService, responder RandomAffirmationResponder, reqHandler *RandomAffirmationRequestHandler) *RandomAffirmationController
func (*RandomAffirmationController) RegisterRoutes ¶
func (c *RandomAffirmationController) RegisterRoutes(r *mux.Router)
type RandomAffirmationRequestHandler ¶
type RandomAffirmationRequestHandler struct{}
func NewRandomAffirmationRequestHandler ¶
func NewRandomAffirmationRequestHandler() *RandomAffirmationRequestHandler
type RandomAffirmationResponder ¶
type RandomAffirmationResponder interface {
RespondSuccessOk(w http.ResponseWriter, data any, n int)
RespondError(w http.ResponseWriter, message string, httpStatus int)
}
Click to show internal directories.
Click to hide internal directories.