Package list golang-github-stvp-tempredis / 5003a0b5-1400-4e7f-af12-e236ffc098f9/main config.go
5003a0b5-1400-4e7f-af12-e236ffc098f9/main

Tree @5003a0b5-1400-4e7f-af12-e236ffc098f9/main (Download .tar.gz)

config.go @5003a0b5-1400-4e7f-af12-e236ffc098f9/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"]
}