Package list golang-github-stvp-tempredis / upstream/0.0_git20160122.0.83f7aae config.go
upstream/0.0_git20160122.0.83f7aae

Tree @upstream/0.0_git20160122.0.83f7aae (Download .tar.gz)

config.go @upstream/0.0_git20160122.0.83f7aaeraw · 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"]
}