client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Trans  *thrift.TSocket
	Client *thrift.TStandardClient
}

type MClient

type MClient struct {
	// contains filtered or unexported fields
}

func NewMClient

func NewMClient(addr string, connTimeout, soTimeout time.Duration) *MClient

func (*MClient) Client

func (mc *MClient) Client(serviceName string) (*Client, error)

func (*MClient) Client2

func (mc *MClient) Client2(serviceName string, p thrift.TProtocol) (*Client, error)

Jump to

Keyboard shortcuts

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