Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffirmationController ¶
type AffirmationController struct {
// contains filtered or unexported fields
}
func NewAffirmationController ¶
func NewAffirmationController(service domain.AffirmationService, responder AffirmationResponder, reqHandler *AffirmationRequestHandler) *AffirmationController
func (*AffirmationController) RegisterRoutes ¶
func (c *AffirmationController) RegisterRoutes(r *mux.Router)
type AffirmationRequestHandler ¶
type AffirmationRequestHandler struct{}
func NewAffirmationRequestHandler ¶
func NewAffirmationRequestHandler() *AffirmationRequestHandler
type AffirmationResponder ¶
type AffirmationResponder 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) }
type Bootstrap ¶
type Bootstrap struct{}
func NewBootstrap ¶
func NewBootstrap() *Bootstrap
func (*Bootstrap) BootstrapControllers ¶
func (b *Bootstrap) BootstrapControllers(db *dbCommon.DB) []httpCommon.Controller
Click to show internal directories.
Click to hide internal directories.