auth parameter

This commit is contained in:
Nazar Kanaev
2020-11-03 20:58:26 +00:00
parent 7c06952a7d
commit 0745c92e9a
2 changed files with 36 additions and 2 deletions

View File

@@ -17,6 +17,9 @@ type Handler struct {
feedQueue chan storage.Feed
queueSize *int32
refreshRate chan int64
// auth
Username string
Password string
}
func New(db *storage.Storage, logger *log.Logger, addr string) *Handler {