Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateLimitter ¶
type RateLimitter struct {
// contains filtered or unexported fields
}
func NewRateLimitter ¶
func NewRateLimitter(r *repo.Repository) *RateLimitter
func (*RateLimitter) Apply ¶
func (m *RateLimitter) Apply(tier string, limit int) gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.