Clash.Meta/listener/auth/auth.go

16 lines
245 B
Go
Raw Normal View History

package auth
import (
"github.com/Dreamacro/clash/component/auth"
)
2021-10-10 23:44:09 +08:00
var authenticator auth.Authenticator
func Authenticator() auth.Authenticator {
return authenticator
}
func SetAuthenticator(au auth.Authenticator) {
authenticator = au
}