Documentation
¶
Overview ¶
Package rule_methods provides the methods that are used by the rules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleMethods ¶
type RuleMethods struct{}
RuleMethods is the struct that contains the methods that are used by the rules
func (*RuleMethods) GetMethod ¶
func (r *RuleMethods) GetMethod(mName string) (reflect.Value, error)
GetMethod gets the method by name from the RuleMethods struct
func (*RuleMethods) Passthrough ¶
func (_ *RuleMethods) Passthrough(_ context.Context, ent protoreflect.ProtoMessage) (json.RawMessage, error)
Passthrough is a method that passes the entity through, just marshalling it
Click to show internal directories.
Click to hide internal directories.