nativemeter

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name     = "native-meter-grpc-forwarder"
	ShowName = "Native Meter GRPC Forwarder"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

type Forwarder struct {
	config.CommonFields
	// The LRU policy cache size for hosting routine rules of service instance.
	RoutingRuleLRUCacheSize int `mapstructure:"routing_rule_lru_cache_size"`
	// The TTL of the LRU cache size for hosting routine rules of service instance.
	RoutingRuleLRUCacheTTL int `mapstructure:"routing_rule_lru_cache_ttl"`
	// contains filtered or unexported fields
}

func (*Forwarder) DefaultConfig

func (f *Forwarder) DefaultConfig() string

func (*Forwarder) Description

func (f *Forwarder) Description() string

func (*Forwarder) Forward

func (f *Forwarder) Forward(batch event.BatchEvents) error

func (*Forwarder) ForwardType

func (f *Forwarder) ForwardType() v1.SniffType

func (*Forwarder) Name

func (f *Forwarder) Name() string

func (*Forwarder) Prepare

func (f *Forwarder) Prepare(connection interface{}) error

func (*Forwarder) ShowName added in v0.4.0

func (f *Forwarder) ShowName() string

func (*Forwarder) SupportedSyncInvoke

func (f *Forwarder) SupportedSyncInvoke() bool

func (*Forwarder) SyncForward

func (f *Forwarder) SyncForward(_ *v1.SniffData) (*v1.SniffData, error)

Jump to

Keyboard shortcuts

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