package
0.0.0-20220113021136-d224df531360
Repository: https://github.com/zhukovaskychina/xmysql-server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

BytesToString casts slice to string without copy.
CalcPassword is the algorithm convert hashed password to auth string.
No description provided by the author
DecodePassword converts hex string password to byte array.
EncodePassword converts plaintext password to hashed hex string.
生成md5.
NewBuffer creates a new buffer_pool.
NewHashTable create hash table.
ReadBuffer used to read buffer_pool from datas.
RunWithRetry will run the f with backoff and retry.
生成sha1.
Sha1Hash is an util function to calculate sha1 hash.
StringToBytes casts string to slice without copy.
ToJSONString format v to the JSON encoding, return a string.

# Variables

ErrIOEOF used for io.EOF.

# Structs

Buffer represents the buffer_pool tuple.
HashTable the hash table.

# Type aliases

Iterator used to iterate the HashTable.