Package list golang-github-stvp-tempredis / 5725ea60-fe8d-42ab-962f-273b6e7c67ea/main config.go
5725ea60-fe8d-42ab-962f-273b6e7c67ea/main

Tree @5725ea60-fe8d-42ab-962f-273b6e7c67ea/main (Download .tar.gz)

config.go @5725ea60-fe8d-42ab-962f-273b6e7c67ea/mainraw · history · blame

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