File: config.go

package info (click to toggle)
golang-github-stvp-tempredis 0.0~git20160122.0.83f7aae-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 80 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 165 bytes parent folder | download | duplicates (4)
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"]
}