gitea: code.gitea.io/gitea/modules/matchlist Index | Files

package matchlist

import "code.gitea.io/gitea/modules/matchlist"

Index

Package Files

matchlist.go

type Matchlist Uses

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

Matchlist represents a block or allow list

func NewMatchlist Uses

func NewMatchlist(rules ...string) (*Matchlist, error)

NewMatchlist creates a new block or allow list

func (*Matchlist) Match Uses

func (b *Matchlist) Match(u string) bool

Match will matches

Package matchlist imports 2 packages (graph) and is imported by 1 packages. Updated 2020-12-01. Refresh now. Tools for package owners.