3fa42edb73
* fix import path for v7 find ./ -name "*.go" | xargs sed -i -e 's|"github.com/oauth2-proxy/oauth2-proxy|"github.com/oauth2-proxy/oauth2-proxy/v7|' * fix module path * go mod tidy * fix installation docs * update CHANGELOG * Update CHANGELOG.md Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk> Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
11 lines
271 B
Go
11 lines
271 B
Go
// +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 }()
|
|
}
|