mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-09-12 11:52:33 +00:00
17 lines
250 B
Go
17 lines
250 B
Go
package auth
|
|
|
|
import (
|
|
"github.com/Dreamacro/clash/component/auth"
|
|
)
|
|
|
|
var (
|
|
authenticator auth.Authenticator
|
|
)
|
|
|
|
func Authenticator() auth.Authenticator {
|
|
return authenticator
|
|
}
|
|
|
|
func SetAuthenticator(au auth.Authenticator) {
|
|
authenticator = au
|
|
}
|