Package list golang-github-stvp-tempredis / b9ce4e67-38d3-45d2-9c1c-409d65014d4d/main config.go
b9ce4e67-38d3-45d2-9c1c-409d65014d4d/main

Tree @b9ce4e67-38d3-45d2-9c1c-409d65014d4d/main (Download .tar.gz)

config.go @b9ce4e67-38d3-45d2-9c1c-409d65014d4d/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"]
}