triple

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDefaultTripleClient

func InitDefaultTripleClient(protoset []string)

InitDefaultTripleClient init default dubbo client

Types

type Client

type Client struct {
}

Client client to generic invoke dubbo

func NewTripleClient

func NewTripleClient(protoset []string) *Client

NewTripleClient create dubbo client

func SingletonTripleClient

func SingletonTripleClient(protoset []string) *Client

SingletonTripleClient singleton dubbo clent

func (*Client) Apply

func (tc *Client) Apply() error

func (*Client) Call

func (tc *Client) Call(req *client.Request) (res interface{}, err error)

Call invoke service

func (*Client) Close

func (tc *Client) Close() error

Close clear GenericServicePool.

func (*Client) MapParams

func (tc *Client) MapParams(req *client.Request) (reqData interface{}, err error)

Jump to

Keyboard shortcuts

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