handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPClientComponentID  = 2
	ServiceCombComponentID = 28
	HTTPServerComponentID  = 49
)
View Source
const (
	HTTPPrefix = "http://"
)
View Source
const PortMapForPilot = "port-selector"

PortMapForPilot is a constant

Variables

This section is empty.

Functions

func New

func New() handler.Handler

New create new port for pilot handler and retuns

func NewSkyWalkingConsumer

func NewSkyWalkingConsumer() handler.Handler

NewSkyWalkingConsumer return consumer handler for SkyWalking

func NewSkyWalkingProvier

func NewSkyWalkingProvier() handler.Handler

NewSkyWalkingProvier return provider handler for SkyWalking

Types

type PortSelectionHandler

type PortSelectionHandler struct {
}

PortSelectionHandler ..

func (*PortSelectionHandler) Handle

Handle function replace the provider port to mesher port so that traffic goes through mesher

func (*PortSelectionHandler) Name

func (ps *PortSelectionHandler) Name() string

Name returns name

type SkyWalkingConsumerHandler

type SkyWalkingConsumerHandler struct {
}

SkyWalkingConsumerHandler struct

func (*SkyWalkingConsumerHandler) Handle

Handle is for consumer

func (*SkyWalkingConsumerHandler) Name

func (sc *SkyWalkingConsumerHandler) Name() string

Name return consumer name

type SkyWalkingProviderHandler

type SkyWalkingProviderHandler struct {
}

SkyWalkingProviderHandler struct

func (*SkyWalkingProviderHandler) Handle

Handle is for provider

func (*SkyWalkingProviderHandler) Name

func (sp *SkyWalkingProviderHandler) Name() string

Name return provider name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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