mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 13:41:23 +08:00
18 lines
250 B
Go
18 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
|
|
}
|