Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureCustomValidators ¶
func ConfigureCustomValidators()
ConfigureCustomValidators sets up custom struct validators
func NewErrorReporter ¶
func NewErrorReporter(dsn string) (usecases.ErrorReporter, error)
NewErrorReporter creates a new error reporter that sends errors to sentry
func NewRouter ¶
func NewRouter( environment domain.Environment, port string, corsAllowedOrigins []string, errorReporter usecases.ErrorReporter, routes ...services.Route, ) services.Router
NewRouter instantiates a router
func NewValidator ¶
NewValidator validates structs and possibly other stuff in the future
Types ¶
Click to show internal directories.
Click to hide internal directories.