dubbo

package
v0.0.0-...-7553a0f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDefaultDubboClient

func InitDefaultDubboClient()

InitDefaultDubboClient init default dubbo client

Types

type Client

type Client struct {
	GenericServicePool map[string]*generic.GenericService
	// contains filtered or unexported fields
}

Client client to generic invoke dubbo

func NewDubboClient

func NewDubboClient() *Client

func SingletonDubboClient

func SingletonDubboClient() *Client

SingletonDubboClient singleton dubbo client

func (*Client) Apply

func (dc *Client) Apply() error

Apply init dubbo, config mapping can do here

func (*Client) Close

func (dc *Client) Close() error

Close clear GenericServicePool.

func (*Client) Get

func (dc *Client) Get(key string, iface string) *generic.GenericService

Get find a dubbo GenericService

func (*Client) Invoke

func (dc *Client) Invoke(gmm model.GatewayMethodMetadata, param interface{}, wrapResp string) (interface{}, error)

Jump to

Keyboard shortcuts

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