netbird/relay/auth/allow/allow_all.go

15 lines
244 B
Go
Raw Permalink Normal View History

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
}