Documentation
¶
Index ¶
- type Middleware
- func (r *Middleware) Append(middleware ...http.Middleware) configuration.Middleware
- func (r *Middleware) GetGlobalMiddleware() []http.Middleware
- func (r *Middleware) GetRecover() func(ctx http.Context, err any)
- func (r *Middleware) Prepend(middleware ...http.Middleware) configuration.Middleware
- func (r *Middleware) Recover(fn func(ctx http.Context, err any)) configuration.Middleware
- func (r *Middleware) Use(middleware ...http.Middleware) configuration.Middleware
- type Paths
- func (r *Paths) App(path string) configuration.Paths
- func (r *Paths) Bootstrap(path string) configuration.Paths
- func (r *Paths) Commands(path string) configuration.Paths
- func (r *Paths) Config(path string) configuration.Paths
- func (r *Paths) Controllers(path string) configuration.Paths
- func (r *Paths) Database(path string) configuration.Paths
- func (r *Paths) Events(path string) configuration.Paths
- func (r *Paths) Facades(path string) configuration.Paths
- func (r *Paths) Factories(path string) configuration.Paths
- func (r *Paths) Filters(path string) configuration.Paths
- func (r *Paths) Jobs(path string) configuration.Paths
- func (r *Paths) Lang(path string) configuration.Paths
- func (r *Paths) Listeners(path string) configuration.Paths
- func (r *Paths) Mails(path string) configuration.Paths
- func (r *Paths) Middleware(path string) configuration.Paths
- func (r *Paths) Migrations(path string) configuration.Paths
- func (r *Paths) Models(path string) configuration.Paths
- func (r *Paths) Observers(path string) configuration.Paths
- func (r *Paths) Packages(path string) configuration.Paths
- func (r *Paths) Policies(path string) configuration.Paths
- func (r *Paths) Providers(path string) configuration.Paths
- func (r *Paths) Public(path string) configuration.Paths
- func (r *Paths) Requests(path string) configuration.Paths
- func (r *Paths) Resources(path string) configuration.Paths
- func (r *Paths) Routes(path string) configuration.Paths
- func (r *Paths) Rules(path string) configuration.Paths
- func (r *Paths) Seeders(path string) configuration.Paths
- func (r *Paths) Storage(path string) configuration.Paths
- func (r *Paths) Tests(path string) configuration.Paths
- func (r *Paths) Views(path string) configuration.Paths
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func NewMiddleware(middleware []http.Middleware) *Middleware
func (*Middleware) Append ¶
func (r *Middleware) Append(middleware ...http.Middleware) configuration.Middleware
func (*Middleware) GetGlobalMiddleware ¶
func (r *Middleware) GetGlobalMiddleware() []http.Middleware
func (*Middleware) GetRecover ¶
func (r *Middleware) GetRecover() func(ctx http.Context, err any)
func (*Middleware) Prepend ¶
func (r *Middleware) Prepend(middleware ...http.Middleware) configuration.Middleware
func (*Middleware) Recover ¶
func (r *Middleware) Recover(fn func(ctx http.Context, err any)) configuration.Middleware
func (*Middleware) Use ¶
func (r *Middleware) Use(middleware ...http.Middleware) configuration.Middleware
type Paths ¶
type Paths struct {
}
func (*Paths) Controllers ¶
func (r *Paths) Controllers(path string) configuration.Paths
func (*Paths) Middleware ¶
func (r *Paths) Middleware(path string) configuration.Paths
func (*Paths) Migrations ¶
func (r *Paths) Migrations(path string) configuration.Paths
Click to show internal directories.
Click to hide internal directories.