Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
NewBuilder genKeyFn: 默认使用 IP 限流. logFn: 默认使用 log.Println().
func (*Builder) Build ¶
func (b *Builder) Build() gin.HandlerFunc
func (*Builder) SetKeyGenFunc ¶
Click to show internal directories.
Click to hide internal directories.