mirror of
https://github.com/go-gost/gost.git
synced 2026-10-09 20:45:46 +00:00
add auther config
This commit is contained in:
@@ -36,6 +36,9 @@ func (r *bypassRegistry) IsRegistered(name string) bool {
|
||||
}
|
||||
|
||||
func (r *bypassRegistry) Get(name string) bypass.Bypass {
|
||||
if name == "" {
|
||||
return nil
|
||||
}
|
||||
return &bypassWrapper{name: name}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user