Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeClientOptions ¶
func MakeClientOptions( logger *zap.Logger, ) []grpc.DialOption
func MakeServerOptions ¶
func MakeServerOptions( logger *zap.Logger, authClient siface.IAuth, deployments utility.Deployments, rateLimit int32, opts ...grpc.ServerOption, ) []grpc.ServerOption
Types ¶
type RateLimiter ¶
type RateLimiter struct {
// contains filtered or unexported fields
}
RateLimiter rate limit
func CreateRateLimiter ¶
func CreateRateLimiter(rate int) *RateLimiter
Click to show internal directories.
Click to hide internal directories.