mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-24 08:52:25 +02:00
b49e62f9b2
* init TLS.Config when connecting to Redis with TLS * don't overwrite TLS config if it exists * add tests for Redis with TLS * remove hardcoded certs * add GenerateCert func * use GenerateCert util func * fix issue reported by go fmt * limit return statements in GenerateCert
12 lines
309 B
Go
12 lines
309 B
Go
//go:build !go1.3 || plan9 || solaris
|
|
// +build !go1.3 plan9 solaris
|
|
|
|
package main
|
|
|
|
import "github.com/oauth2-proxy/oauth2-proxy/v7/pkg/logger"
|
|
|
|
func WatchForUpdates(filename string, done <-chan bool, action func()) {
|
|
logger.Errorf("file watching not implemented on this platform")
|
|
go func() { <-done }()
|
|
}
|