Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorNS = errorx.NewNamespace("error.tidb") ErrPDAccessFailed = ErrorNS.NewType("pd_access_failed") ErrNoAliveTiDB = ErrorNS.NewType("no_alive_tidb") ErrTiDBConnFailed = ErrorNS.NewType("tidb_conn_failed") ErrTiDBAuthFailed = ErrorNS.NewType("tidb_auth_failed") )
Functions ¶
This section is empty.
Types ¶
type Forwarder ¶
type Forwarder struct {
// contains filtered or unexported fields
}
func NewForwarder ¶
func NewForwarder(config *ForwarderConfig, etcdProvider pd.EtcdProvider) *Forwarder
func (*Forwarder) GetDBConnProps ¶
type ForwarderConfig ¶
func NewForwarderConfig ¶
func NewForwarderConfig(tlsConfig *tls.Config) *ForwarderConfig
Click to show internal directories.
Click to hide internal directories.