package Ġcom . github . rk bal gi . grp ccs . redis Ċ Ċ import Ġio . lett uce . core . Redis Client ĊĊ Ċ object ĠRedis Ġ{ ĊĊĠĠĠ Ġfun Ġget Redis Client (): ĠRedis Client Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠRedis Client . create (" redis :// localhost : 6 3 7 9 / 0 ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun ĠgetAll Keys (): ĠList < String > Ġ{ ĊĊĠĠĠ Ġval Ġconn Ġ= ĠRedis . get Redis Client (). connect () ĊĠĠĠ Ġreturn Ġconn . sync (). keys ("* "). toList () Ċ Ċ }