auth parameter
This commit is contained in:
parent
7c06952a7d
commit
0745c92e9a
2 changed files with 36 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue