redisdb/utils.go

8 lines
142 B
Go
Raw Normal View History

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