tcp

package
v2.0.0-alpha2+incompat... Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager is the TCPHandlers factory

func NewManager

func NewManager(configs map[string]*config.TCPService) *Manager

NewManager creates a new manager

func (*Manager) BuildTCP

func (m *Manager) BuildTCP(rootCtx context.Context, serviceName string) (tcp.Handler, error)

BuildTCP Creates a tcp.Handler for a service configuration.

Jump to

Keyboard shortcuts

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