traffic

package
v0.0.0-...-c8b884f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCPlugin

func NewGRPCPlugin(name string, addr string, opts ...plugin.Option) traffic.TrafficLimiter

NewGRPCPlugin creates a traffic limiter plugin based on gRPC.

func NewHTTPPlugin

func NewHTTPPlugin(name string, url string, opts ...plugin.Option) traffic.TrafficLimiter

NewHTTPPlugin creates a traffic limiter plugin based on HTTP.

Types

This section is empty.

Jump to

Keyboard shortcuts

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