Package list golang-github-stvp-tempredis / upstream/0.0_git20181119.b82af84 config.go
upstream/0.0_git20181119.b82af84

Tree @upstream/0.0_git20181119.b82af84 (Download .tar.gz)

config.go @upstream/0.0_git20181119.b82af84

fbc4f9a
 
 
 
 
 
 
 
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"]
}