package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev

# Functions

GetCreator returns the Creator specified by the gateway_implementation flag.
NewShardError returns a ShardError which preserves the original error code if possible, adds the connection context and adds a bit to determine whether the keyspace/shard needs to be re-resolved for a potential sharding event (namely, if we were in a transaction).
NewTabletStatusAggregator creates a TabletStatusAggregator.
RegisterCreator registers a Creator with given name.
WaitForTablets is a helper method to wait for the provided tablets, up until the *initialTabletTimeout.

# Constants

StatusTemplate is the display part to use to show a TabletCacheStatusList.

# Structs

ShardError is the error about a specific shard.
TabletCacheStatus contains the status per destination for a gateway.
TabletStatusAggregator tracks tablet status for a gateway.

# Interfaces

A Gateway is the query processing module for each shard, which is used by ScatterConn.

# Type aliases

Creator is the factory method which can create the actual gateway object.
TabletCacheStatusList is a slice of TabletCacheStatus.