MCPcopy
hub / github.com/PatchMon/PatchMon / Close

Function Close

server-source-code/internal/redis/client.go:84–86  ·  view source on GitHub ↗

Close closes the Redis client.

(client *redis.Client)

Source from the content-addressed store, hash-verified

82
83// Close closes the Redis client.
84func Close(client *redis.Client) error {
85 return client.Close()
86}
87
88func getEnvInt(key string, defaultVal int) int {
89 s := os.Getenv(key)

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected