taas_tikv

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

// Copyright 2018 PingCAP, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // See the License for the specific language governing permissions and // limitations under the License.

Index

Constants

View Source
const TaasServerIp = "172.30.67.201"

Variables

View Source
var ChanList []chan string
View Source
var TaasTxnCH = make(chan TaasTxn, 100000)
View Source
var UnPackCH = make(chan string, 100000)

Functions

func GetFreePort

func GetFreePort() (int, error)

获取本机当前可用端口号

func ListenFromTaas

func ListenFromTaas()

func SendTxnToTaas

func SendTxnToTaas()

func UGZipBytes

func UGZipBytes(in []byte) []byte

将远端发过来的消息进行解压缩

func UnPack

func UnPack()

Types

type TaasTxn

type TaasTxn struct {
	GzipedTransaction []byte
}

Jump to

Keyboard shortcuts

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