Documentation
¶
Index ¶
- Variables
- func DBMigrationsMainDB(isDevMode bool, metaPath string, migrationsMainFS fs.FS) *sqlx.MainDB
- type Actionable
- type ContextExtender
- type ContextInput
- type ErrorMapper
- type FormActionable
- type Router
- func (qq *Router) Infra() *common.Infra
- func (qq *Router) RegisterAction(action Actionable)
- func (qq *Router) RegisterActions(actions any)
- func (qq *Router) RegisterCoreRoutes(actions *coreaction.Actions)
- func (qq *Router) RegisterPage(pattern string, handlerFn handlerFn)
- func (qq *Router) SetContextExtender(contextExtender ContextExtender)
- func (qq *Router) SetErrorMapper(errorMapper ErrorMapper)
- func (qq *Router) SetTenantHomeRoute(tenantHomeRoute func(tenantID string) string)
- func (qq *Router) WrapTx(handlerFn handlerFn, isReadOnly bool) http.HandlerFunc
- type TxFinalizer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSessionNotFound = errors.New("session not found")
Functions ¶
Types ¶
type Actionable ¶
type ContextExtender ¶
type ContextExtender interface {
ExtendContext(input ContextInput) (ctxx.Context, []TxFinalizer, error)
}
type ContextInput ¶
type FormActionable ¶
type Router ¶
func (*Router) RegisterAction ¶
func (qq *Router) RegisterAction( action Actionable, )
func (*Router) RegisterActions ¶
func (*Router) RegisterCoreRoutes ¶
func (qq *Router) RegisterCoreRoutes(actions *coreaction.Actions)
func (*Router) RegisterPage ¶
func (*Router) SetContextExtender ¶
func (qq *Router) SetContextExtender(contextExtender ContextExtender)
func (*Router) SetErrorMapper ¶
func (qq *Router) SetErrorMapper(errorMapper ErrorMapper)
func (*Router) SetTenantHomeRoute ¶
type TxFinalizer ¶
Click to show internal directories.
Click to hide internal directories.