Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig read YAML-formatted config from filename into cfg.
func SetGlobalLimit ¶
func SetGlobalLimit(limit int)
Types ¶
type RateLimitedBuffer ¶
func GetRawBody ¶
func GetRawBody(ctx *fiber.Ctx) (RateLimitedBuffer, error)
type RateLimitedPool ¶
type RateLimitedPool struct {
// contains filtered or unexported fields
}
type RateLimitedPooledBuffer ¶
type RateLimitedPooledBuffer struct {
// contains filtered or unexported fields
}
func (*RateLimitedPooledBuffer) Bytes ¶
func (l *RateLimitedPooledBuffer) Bytes() []byte
func (*RateLimitedPooledBuffer) Release ¶
func (l *RateLimitedPooledBuffer) Release()
type RateLimitedSliceBuffer ¶
type RateLimitedSliceBuffer struct {
// contains filtered or unexported fields
}
func (*RateLimitedSliceBuffer) Bytes ¶
func (l *RateLimitedSliceBuffer) Bytes() []byte
func (*RateLimitedSliceBuffer) Release ¶
func (l *RateLimitedSliceBuffer) Release()
Click to show internal directories.
Click to hide internal directories.