custom

package
v0.0.0-...-b6e3791 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package custom contains the caching storage of filters made from custom filtering rules of profiles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filters

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

Filters contains custom filters made from custom filtering rules of profiles.

func New

func New(cache gcache.Cache, errColl errcoll.Interface) (f *Filters)

New returns a new custom filter storage.

func (*Filters) Get

func (f *Filters) Get(ctx context.Context, p *agd.Profile) (rl *rulelist.Immutable)

Get returns the custom rule-list filter made from the profile's custom rules list, if any.

Jump to

Keyboard shortcuts

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