acl

package
v0.0.0-...-c1c3985 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLReader

type ACLReader interface {
	// e.g. basedir => /usr/local/etc, ruleFilename => rules/ACL4SSR/Clash/config/example.ini
	ReadFile(basedir string, ruleFilename string) error

	// Expose exposes underlying type of ACLReader
	Expose() any

	// SetQueryer setup regexp queryer with/without cache layer
	SetQueryer(queryer utils.REQueryer)
}

func NewACLR

func NewACLR(client string) ACLReader

func NewCachedACLR

func NewCachedACLR(client string, cache *cache.Cache) ACLReader

type ClashDiverter

type ClashDiverter clashDiverter

Jump to

Keyboard shortcuts

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