Package list golang-github-stvp-tempredis / cab39356-cd41-480b-89c5-5a6a9ac58ca7/main config.go
cab39356-cd41-480b-89c5-5a6a9ac58ca7/main

Tree @cab39356-cd41-480b-89c5-5a6a9ac58ca7/main (Download .tar.gz)

config.go @cab39356-cd41-480b-89c5-5a6a9ac58ca7/main

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