Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the kind of EaseMesh plugin. Kind = "EaseMesh" // Name is the Name of EaseMesh plugin. Name = "EaseMesh" )
Variables ¶
This section is empty.
Functions ¶
func DefaultSpec ¶
DefaultSpec returns the default spec of EaseMesh.
Types ¶
type AgentConfig ¶
type AgentConfig struct {
Headers string `json:"easeagent.progress.forwarded.headers"`
}
AgentConfig is the config pushed to agent.
type EaseMesh ¶
type EaseMesh struct {
// contains filtered or unexported fields
}
EaseMesh is the EaseMesh dedicated plugin.
func (*EaseMesh) HandleAgentRequest ¶
HandleAgentRequest handles the agent request.
func (*EaseMesh) WrapUserHandlerFunc ¶
func (mesh *EaseMesh) WrapUserHandlerFunc(fn http.HandlerFunc) http.HandlerFunc
WrapUserHandlerFunc wraps the user handler function.
Click to show internal directories.
Click to hide internal directories.