mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-12 20:37:12 +02:00
11 lines
238 B
Go
11 lines
238 B
Go
package apiauth
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/navidrome/navidrome/model"
|
|
)
|
|
|
|
func (s *Service) SetClock(now func() time.Time) { s.now = now }
|
|
|
|
func (s *Service) SetCheckers(f func(model.DataStore) []CredentialChecker) { s.checkers = f }
|