ratelimit

package
v0.0.0-...-e1c0fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RateLimiter

func RateLimiter() []grpc.ServerOption

RateLimiter ...

Types

type Tap

type Tap struct {
	// contains filtered or unexported fields
}

Tap defines the function handles which are executed on the transport layer of gRPC-Go and related information

func NewTap

func NewTap() *Tap

NewTap ...

func (*Tap) ServerInHandle

func (t *Tap) ServerInHandle(ctx context.Context, info *tap.Info) (context.Context, error)

ServerInHandle ...

Jump to

Keyboard shortcuts

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