package
0.1.0
Repository: https://github.com/oceanbase/modis.git
Documentation: pkg.go.dev

# Functions

Append a value to a key.
Auth verifies the client.
BitCount counts the number of set bits (population counting) in a string.
Call a command.
No description provided by the author
No description provided by the author
No description provided by the author
Decr decrements the integer value of a key by one.
DecrBy decrements the integer value of a key by the given number.
Delete removes the specified keys.
Echo the given string.
Exists returns if key exists.
Expire sets a timeout on key.
ExpireAt sets an absolute timestamp to expire on key.
Get the value of key.
GetBit gets the bit at offset in the string value stored at key.
GetRange increments the integer value of a keys by the given amount.
compat server.
HDel removes the specified fields from the hash stored at key.
HExists returns if field is an existing field in the hash stored at key.
HGet returns the value associated with field in the hash stored at key.
HGetAll returns all fields and values of the hash stored at key.
HIncrBy increments the number stored at field in the hash stored at key by increment.
HIncrByFloat increment the specified field of a hash stored at key, and representing a floating point number, by the specified increment.
HKeys returns all field names in the hash stored at key.
HLen returns the number of fields contained in the hash stored at key.
HMGet returns the values associated with the specified fields in the hash stored at key.
HSetNX sets field in the hash stored at key to value, only if field does not yet exist.
HVals returns all values in the hash stored at key.
Incr increments the integer value of a key by one.
IncrBy increments the integer value of a key by the given amount.
IncrByFloat increments the float value of a key by the given amount.
Info print modis info.
No description provided by the author
MGet returns the values of all specified key.
No description provided by the author
MSet sets the given keys to their respective values.
NewCmdContext create a new command context.
Persist removes the existing timeout on key, turning the key from volatile to persistent.
PExpire works exactly like expire but the time to live of the key is specified in milliseconds instead of seconds.
PExpireAt has the same effect and semantic as expireAt, but the Unix time at which the key will expire is specified in milliseconds instead of seconds.
Ping the server.
PSetEx sets the value and expiration in milliseconds of a key.
PTTL likes TTL this command returns the remaining time to live of a key that has an expire set, with the sole difference that TTL returns the amount of remaining time in seconds while PTTL returns it in milliseconds.
Quit asks the server to close the connection.
SCard returns the set cardinality (number of elements) of the set stored at key.
Select the logical database.
Set key to hold the string value.
No description provided by the author
SetEx sets the value and expiration of a key KEY_NAME TIMEOUT VALUE.
SetNx sets the value of a key ,only if the key does not exist.
SetRange overwrites part of the string stored at key, starting at the specified offset, for the entire length of value.
SIsmember returns if member is a member of the set stored at key.
SMembers returns all the members of the set value stored at key.
SMove movies member from the set at source to the set at destination.
SPop removes and returns one or more random elements from the set value storage at key.
SRandMember returns random members of the set.
SRem removes the specified members from the set stored at key.
No description provided by the author
Strlen returns the length of the string value stored at key.
SwapDB swaps two modis databases.
No description provided by the author
TTL returns the remaining time to live of a key that has a timeout.
Type returns the string representation of the type of the value stored at key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
512M.

# Variables

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

# Structs

CmdContext is the runtime context of a command.
CmdInfo describes a command with constraints.
CmdStat describes command statistics.
No description provided by the author

# Type aliases

No description provided by the author
Command is a modis command implementation.