Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PerUserMethodLimiter ¶
type PerUserMethodLimiter struct {
// contains filtered or unexported fields
}
func NewPerUserMethodLimiter ¶
func NewPerUserMethodLimiter( perUserMethodLimits map[string]uint) *PerUserMethodLimiter
func (*PerUserMethodLimiter) BlockMethod ¶
func (limiter *PerUserMethodLimiter) BlockMethod(methodName string, authInfo *srpc.AuthInformation) (func(), error)
Click to show internal directories.
Click to hide internal directories.