mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-21 23:53:14 +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
|
|
}
|