Codebase list golang-github-stvp-tempredis / HEAD config.go
HEAD

Tree @HEAD (Download .tar.gz)

config.go @HEADraw · history · blame

1
2
3
4
5
6
7
8
package tempredis

// Config is a key-value map of Redis config settings.
type Config map[string]string

func (c Config) Socket() string {
	return c["unixsocket"]
}