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

Tree @debian/0.0_git20160122.0.83f7aae-2 (Download .tar.gz)

config.go @debian/0.0_git20160122.0.83f7aae-2raw · 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"]
}