rule_methods

package
v0.0.65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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 Methods

type Methods interface {
	GetMethod(string) (reflect.Value, error)
}

Methods is the interface that is used to get the method by name

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

Passthrough is a method that passes the entity through, just marshalling it

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL