mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(confg): reload on save and refactor logging (#275)
* feat(confg): reload on save * refactor(logging): rework
This commit is contained in:
parent
198528a474
commit
91b094f4f4
56 changed files with 995 additions and 873 deletions
|
@ -19,13 +19,13 @@ type authService interface {
|
|||
|
||||
type authHandler struct {
|
||||
encoder encoder
|
||||
config domain.Config
|
||||
config *domain.Config
|
||||
service authService
|
||||
|
||||
cookieStore *sessions.CookieStore
|
||||
}
|
||||
|
||||
func newAuthHandler(encoder encoder, config domain.Config, cookieStore *sessions.CookieStore, service authService) *authHandler {
|
||||
func newAuthHandler(encoder encoder, config *domain.Config, cookieStore *sessions.CookieStore, service authService) *authHandler {
|
||||
return &authHandler{
|
||||
encoder: encoder,
|
||||
config: config,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue