Skip to content

sandyisone/redis4delphi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redis4delphi

Delphi Redis Client is compatible with Delphi2010.

Redis

  FRedisHandle := TRedisHandle.Create();
  FRedisHandle.Ip := '127.0.0.1';
  FRedisHandle.Port := 6379;
  FRedisHandle.Password := '123456';
  FRedisHandle.Db := 1;

  FRedisHandle.StringSet('akey', 'aValue');
  FRedisHandle.StringGet('akey');

Redis Cluster

  FRedisClusterHandle := TRedisClusterHandle.Create;

  FRedisClusterHandle.Password := '123456';
  FRedisClusterHandle.AddNode('192.168.1.80', 6379);
  FRedisClusterHandle.AddNode('192.168.1.81', 6379);

  FRedisClusterHandle.StringSet('akey', 'aValue');
  FRedisClusterHandle.StringGet('akey');

feature is unit tested.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages