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 NewSkyWalkingConsumer ¶
NewSkyWalkingConsumer return consumer handler for SkyWalking
func NewSkyWalkingProvier ¶
NewSkyWalkingProvier return provider handler for SkyWalking
Types ¶
type PortSelectionHandler ¶
type PortSelectionHandler struct { }
PortSelectionHandler ..
func (*PortSelectionHandler) Handle ¶
func (ps *PortSelectionHandler) Handle(chain *handler.Chain, inv *invocation.Invocation, cb invocation.ResponseCallBack)
Handle function replace the provider port to mesher port so that traffic goes through mesher
type SkyWalkingConsumerHandler ¶
type SkyWalkingConsumerHandler struct { }
SkyWalkingConsumerHandler struct
func (*SkyWalkingConsumerHandler) Handle ¶
func (sc *SkyWalkingConsumerHandler) Handle(chain *handler.Chain, i *invocation.Invocation, cb invocation.ResponseCallBack)
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 ¶
func (sp *SkyWalkingProviderHandler) Handle(chain *handler.Chain, i *invocation.Invocation, cb invocation.ResponseCallBack)
Handle is for provider
func (*SkyWalkingProviderHandler) Name ¶
func (sp *SkyWalkingProviderHandler) Name() string
Name return provider name
Click to show internal directories.
Click to hide internal directories.