Codebase list golang-github-stvp-tempredis / 460d08f4-a15d-4444-91cf-10c3a3a54fc1/main config.go
460d08f4-a15d-4444-91cf-10c3a3a54fc1/main

Tree @460d08f4-a15d-4444-91cf-10c3a3a54fc1/main (Download .tar.gz)

config.go @460d08f4-a15d-4444-91cf-10c3a3a54fc1/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"]
}