Discover Packages
github.com/go-gost/gost/v3
pkg
admission
package
Version:
v3.0.0-alpha.3....-0a41b70
Opens a new window with list of versions in this module.
Published: Mar 15, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Admission interface {
Admit(addr string ) bool
}
NewAdmission creates and initializes a new Admission using matchers as its match rules.
The rules will be reversed if the reversed is true.
NewAdmissionPatterns creates and initializes a new Admission using matcher patterns as its match rules.
The rules will be reversed if the reverse is true.
type Option func(opts *options)
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.