mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-18 03:01:31 +01:00
9 lines
160 B
Go
9 lines
160 B
Go
|
package auth
|
||
|
|
||
|
import "hash"
|
||
|
|
||
|
// Validator is an interface that defines the Validate method.
|
||
|
type Validator interface {
|
||
|
Validate(func() hash.Hash, any) error
|
||
|
}
|