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