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 ¶
Types ¶
type Context ¶
type Context struct {
Ctx
}
func NewContext ¶
func NewContext() *Context
func (*Context) Request ¶
func (r *Context) Request() http.ContextRequest
func (*Context) Response ¶
func (r *Context) Response() http.ContextResponse
type RateLimiter ¶
type RateLimiter struct {
// contains filtered or unexported fields
}
func NewRateLimiter ¶
func NewRateLimiter() *RateLimiter
func (*RateLimiter) ForWithLimits ¶
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.