Codebase list golang-github-stvp-tempredis / dbec5255-84a6-4ada-9e56-bcc63b5d2d8c/main config.go
dbec5255-84a6-4ada-9e56-bcc63b5d2d8c/main

Tree @dbec5255-84a6-4ada-9e56-bcc63b5d2d8c/main (Download .tar.gz)

config.go @dbec5255-84a6-4ada-9e56-bcc63b5d2d8c/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"]
}