registry

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConnNewPoolFactories = make(map[api.ProtocolName]types.NewConnPool)
	StreamFactories      = make(map[api.ProtocolName]types.ProtocolStreamFactory)
	HttpMappingFactory   = make(map[api.ProtocolName]api.HTTPMapping)
)

Functions

func RegisterMapping

func RegisterMapping(p api.ProtocolName, m api.HTTPMapping)

func RegisterNewPoolFactory

func RegisterNewPoolFactory(protocol api.ProtocolName, factory types.NewConnPool)

func RegisterProtocolStreamFactory added in v0.27.0

func RegisterProtocolStreamFactory(name api.ProtocolName, factory types.ProtocolStreamFactory)

func Reset

func Reset()

for test only

Types

This section is empty.

Jump to

Keyboard shortcuts

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