mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
16 lines
245 B
Go
16 lines
245 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
|
|
}
|