added auth method

This commit is contained in:
ston1th 2021-02-10 23:54:31 +01:00
commit a735b9cc5e
8 changed files with 270 additions and 12 deletions

View file

@ -34,7 +34,7 @@ type Server struct {
func NewServer(log logr.Logger) *Server {
s := &Server{
mux: mux.NewRouter(),
log: log,
log: log.WithName("api"),
stop: make(chan struct{}),
stopKeyReset: make(chan struct{}),