mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-12 17:59:06 +02:00
Clarify the Rule comment
This commit is contained in:
@@ -13,8 +13,8 @@ type Request struct {
|
||||
Msg any
|
||||
}
|
||||
|
||||
// Rule is an additional constraint beyond the method's level. Every rule on a
|
||||
// method must pass.
|
||||
// Rule is an additional constraint beyond the method's level, for example
|
||||
// checking permissions on a field of a message. Every rule on a method must pass.
|
||||
type Rule func(Request) error
|
||||
|
||||
// The generated getters the profile RPCs expose.
|
||||
|
||||
Reference in New Issue
Block a user