serverutil

package
v0.0.0-...-63c3a42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL