thriftx

package
v0.0.0-...-cd938e1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 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 PoolClientConf

type PoolClientConf struct {
	HostPort string `yaml:"hostPort" json:"hostPort"`
}

func (PoolClientConf) NewPoolClient

func (x PoolClientConf) NewPoolClient() (client thrift.TClient)

thrift.TStandardClient是非线程安全的,没有连接池机制 我们自己搞一个线程安全的,池化的client

Jump to

Keyboard shortcuts

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