github.com/igoogolx/clash@v1.19.8/listener/auth/auth.go (about) 1 package auth 2 3 import ( 4 "github.com/igoogolx/clash/component/auth" 5 ) 6 7 var authenticator auth.Authenticator 8 9 func Authenticator() auth.Authenticator { 10 return authenticator 11 } 12 13 func SetAuthenticator(au auth.Authenticator) { 14 authenticator = au 15 }