generic

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Retries         = "0"
	Failover        = "failover"
	DefaultRegistry = "yd_zk_1"
	UNDERLINE       = "_"
)

Variables

This section is empty.

Functions

func Init

func Init()

func Invoke

func Invoke(req InvokeReq, reqData []interface{}) (resp interface{}, err error)

func InvokeGeneric

func InvokeGeneric(interfaceName, version string, method, providerUrl string,
	parameterTypes []string, reqData []interface{}) (resp interface{}, err error)

Types

type InvokeReq

type InvokeReq struct {
	InterfaceName  string
	Version        string
	Method         string
	ProviderUrl    string //"dubbo://{provider host}:{provider port}"
	ParameterTypes []string
}

Jump to

Keyboard shortcuts

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