mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-28 11:03:30 +01:00
2d1bf3982d
Co-authored-by: Zoltán Papp <zoltan.pmail@gmail.com>
15 lines
244 B
Go
15 lines
244 B
Go
package allow
|
|
|
|
// Auth is a Validator that allows all connections.
|
|
// Used this for testing purposes only.
|
|
type Auth struct {
|
|
}
|
|
|
|
func (a *Auth) Validate(any) error {
|
|
return nil
|
|
}
|
|
|
|
func (a *Auth) ValidateHelloMsgType(any) error {
|
|
return nil
|
|
}
|