dubboproxy

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 19 Imported by: 3

Documentation

Index

Constants

View Source
const (
	ProxyTag = "mesherproxy"
)

Variables

View Source
var DubboListenAddr string

DubboListenAddr is a variable of type string used for storing listen address

View Source
var IsProvider bool

IsProvider is variable of type boolean used for tag proxyed dubbo service as provider(true) or consumer(false)

Functions

func Handle

func Handle(ctx *dubbo.InvokeContext) error

Handle is a function

func SetLocalServiceAddress

func SetLocalServiceAddress(inv *invocation.Invocation) error

SetLocalServiceAddress assign invocation endpoint a local service address it uses config in cmd or env fi if it is empty, then try to use original port from client as local port

Types

type ProxyError

type ProxyError struct {
	Message string
}

ProxyError is a struct

func (ProxyError) Error

func (e ProxyError) Error() string

Error is a method which returns error

Jump to

Keyboard shortcuts

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