Documentation ¶
Index ¶
Constants ¶
View Source
const BindingRateLimiter = "goravel.rate_limiter"
View Source
const BindingView = "goravel.view"
Variables ¶
View Source
var ( CacheFacade cache.Cache ConfigFacade config.Config RateLimiterFacade http.RateLimiter )
Functions ¶
func Background ¶ added in v1.2.0
Types ¶
type Context ¶ added in v1.13.1
type Context struct {
Ctx
}
func NewContext ¶ added in v1.13.1
func NewContext() *Context
func (*Context) Request ¶ added in v1.13.1
func (r *Context) Request() http.ContextRequest
func (*Context) Response ¶ added in v1.13.1
func (r *Context) Response() http.ContextResponse
type RateLimiter ¶ added in v1.10.0
type RateLimiter struct {
// contains filtered or unexported fields
}
func NewRateLimiter ¶ added in v1.10.0
func NewRateLimiter() *RateLimiter
func (*RateLimiter) ForWithLimits ¶ added in v1.10.0
type ServiceProvider ¶
type ServiceProvider struct{}
func (*ServiceProvider) Boot ¶
func (http *ServiceProvider) Boot(app foundation.Application)
func (*ServiceProvider) Register ¶
func (http *ServiceProvider) Register(app foundation.Application)
Click to show internal directories.
Click to hide internal directories.