query

package
v0.0.0-...-6d513be Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuleHandler

type RuleHandler struct {
	// contains filtered or unexported fields
}

func NewRuleHandler

func NewRuleHandler(repo repository.RuleRepository, logger *logrus.Logger) *RuleHandler

func (*RuleHandler) Find

func (h *RuleHandler) Find(ctx context.Context, query *rule.FindRule) ([]*entity.Rule, error)

func (*RuleHandler) Get

func (h *RuleHandler) Get(ctx context.Context, query *rule.GetRule) (*entity.Rule, error)

Jump to

Keyboard shortcuts

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