acl

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddProxyGroup

func AddProxyGroup(debris, groupName string) string

func Exists

func Exists(path string) bool

func MergeRule

func MergeRule(debris ...string) string

Types

type Gen added in v1.1.0

type Gen struct {
	OutputFile string
	// contains filtered or unexported fields
}
var GlobalGen *Gen

func New added in v1.1.0

func New(ops ...GenOption) *Gen

func (*Gen) GenerateConfig added in v1.1.0

func (g *Gen) GenerateConfig()

type GenOption

type GenOption func(option *Gen)

func WithBaseFile

func WithBaseFile(filepath string) GenOption

func WithOutputFile

func WithOutputFile(filepath string) GenOption

type Rules

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

func GetRules

func GetRules() []Rules

Jump to

Keyboard shortcuts

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