redisdb/utils.go

8 lines
142 B
Go

package redisdb
import "fmt"
func GenerateKey(server, service, key string) string {
return fmt.Sprintf("%s:%s:%s", server, service, key)
}