Documentation ¶
Overview ¶
Copyright 2024 Rangertaha. All Rights Reserved.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- Constants
- func CliOptions(cli *cli.Context) func(*Config)
- func ConfigOption(domain string, boards []string, langs []string, algos []string, cols []string, ...) func(*Config)
- type Config
- func (c *Config) Algorithms() []internal.Algorithm
- func (c *Config) Analyzers() []internal.Analyzer
- func (c *Config) AssetDir() string
- func (c *Config) Banner() bool
- func (c *Config) Collectors() []internal.Collector
- func (c *Config) Count(v ...int) int
- func (c *Config) Database() internal.Database
- func (c *Config) Delay() time.Duration
- func (c *Config) Dir() string
- func (c *Config) Distance() int
- func (c *Config) File() string
- func (c *Config) Filters() (fields []string)
- func (c *Config) Format() string
- func (c *Config) Keyboards() []internal.Keyboard
- func (c *Config) Languages() []internal.Language
- func (c *Config) Output() internal.Output
- func (c *Config) Progress() bool
- func (c *Config) Random() time.Duration
- func (c *Config) Regex() string
- func (c *Config) Registered() bool
- func (c *Config) Summary() bool
- func (c *Config) TTL() time.Duration
- func (c *Config) Target() string
- func (c *Config) Timeout() time.Duration
- func (c *Config) Unregistered() bool
- func (c *Config) Verbose() bool
- func (c *Config) Workers() int
- type Infos
- type InfosOrder
- type InfosReverseOrder
Constants ¶
View Source
const DIR_PRIMARY = ".config/urlinsane"
Variables ¶
This section is empty.
Functions ¶
func CliOptions ¶
func CliOptions(cli *cli.Context) func(*Config)
func ConfigOption ¶
func ConfigOption( domain string, boards []string, langs []string, algos []string, cols []string, anlyzrs []string, database string, regex string, distance int, format string, file string, summary bool, registered bool, unregistered bool, verbose bool, progress bool, banner bool, debug bool, assets string, workers int, random time.Duration, delay time.Duration, ttl time.Duration, timeout time.Duration, ) func(*Config)
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) Algorithms ¶
func (*Config) Collectors ¶
func (*Config) Registered ¶
func (*Config) Unregistered ¶
type InfosOrder ¶
type InfosOrder struct{ Infos }
func (InfosOrder) Less ¶
func (l InfosOrder) Less(i, j int) bool
type InfosReverseOrder ¶
type InfosReverseOrder struct{ Infos }
func (InfosReverseOrder) Less ¶
func (l InfosReverseOrder) Less(i, j int) bool
Click to show internal directories.
Click to hide internal directories.