Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CodecV1 = tikv.NewCodecV1(tikv.ModeTxn)
CodecV1 represents api v1 codec.
Functions ¶
func GetKeyspaceNameBySettings ¶
func GetKeyspaceNameBySettings() (keyspaceName string)
GetKeyspaceNameBySettings is used to get Keyspace name setting.
func IsKeyspaceNameEmpty ¶
IsKeyspaceNameEmpty is used to determine whether keyspaceName is set.
func MakeKeyspaceEtcdNamespace ¶
MakeKeyspaceEtcdNamespace return the keyspace prefix path for etcd namespace
func MakeKeyspaceEtcdNamespaceSlash ¶
MakeKeyspaceEtcdNamespaceSlash return the keyspace prefix path for etcd namespace, and end with a slash.
func WrapZapcoreWithKeyspace ¶
WrapZapcoreWithKeyspace is used to wrap zapcore.Core.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.