Documentation ¶
Index ¶
Constants ¶
View Source
const CName = "common.rpc.limiter"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigGetter ¶
type ConfigGetter interface {
GetLimiterConf() Config
}
type RpcLimiter ¶
type RpcLimiter interface { app.ComponentRunnable // WrapDRPCHandler wraps the given drpc.Handler with additional functionality WrapDRPCHandler(handler drpc.Handler) drpc.Handler }
func New ¶
func New() RpcLimiter
Directories ¶
Path | Synopsis |
---|---|
Package mock_limiter is a generated GoMock package.
|
Package mock_limiter is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.