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/>.
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 ¶
const ( // VERSION format is loosely based on // [Semantic Versioning](https://semver.org/spec/v2.0.0.html). VERSION = "0.8.2" DEBUG = false // LOGO made as ASCII graphics BANNER = `` /* 382-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accumulator ¶
type Accumulator interface { Add(Domain) // Saving Files Save(filename string, content []byte) error Domain() Domain GetJson(key string) json.RawMessage SetJson(key string, data json.RawMessage) Unmarshal(key string, v interface{}) error Marshal(key string, v interface{}) error GetMeta(key string) (data string) SetMeta(key string, data string) Metadata() map[string]string Next() (err error) Live(...bool) bool Cached(...bool) bool }
type Config ¶
type Config interface { Target() string // Plugins Keyboards() []Keyboard Languages() []Language Algorithms() []Algorithm Collectors() []Collector Analyzers() []Analyzer Database() Database Output() Output // Performance Workers() int Delay() time.Duration Random() time.Duration Timeout() time.Duration TTL() time.Duration // Processing Distance() int // Output Verbose() bool Progress() bool Banner() bool Format() string Filters() []string Registered() bool Unregistered() bool Summary() bool Dir() string File() string AssetDir() string }
type Domain ¶
type Domain interface { Prefix(...string) string Name(...string) string Suffix(...string) string String() string // Metadata Meta() map[string]string SetMeta(key string, value string) GetMeta(key string) (value string) SetData(key string, value json.RawMessage) GetData(key string) (value json.RawMessage) Algorithm() Algorithm Valid() bool Live(...bool) bool Active(...bool) bool Cached(...bool) bool // Dir(...string) string Ld(...int) int Json(...string) string Idn(...string) string Save(string) error }
type Initializer ¶
type Initializer interface {
Init(Config)
}
type Language ¶
type Language interface { Id() string Name() string Description() string // Numerals in the broadest sense a word or phrase that // describes a numerical quantity. Example: one, first Numerals() map[string][]string // Cardinal numbers are the words of numbers that are used for counting // Example: one, two, three, four, five, six, seven, eight, nine, ten // See: https://byjus.com/maths/cardinal-numbers/ Cardinal() map[string]string // They are used to denote the rank position or order of something // Example: Examples: 1st, 2nd, 5th, 6th, 9th or first, second, third // See: https://byjus.com/maths/cardinal-numbers/ Ordinal() map[string]string // Graphemes is the smallest functional unit of a writing system. Graphemes() []string // Vowels are syllabic speech sounds pronounced without any stricture in the vocal tract. Vowels() []string Misspellings() [][]string Homophones() [][]string Antonyms() map[string][]string Homoglyphs() map[string][]string SimilarChars(char string) []string SimilarSpellings(word string) []string SimilarSounds(word string) []string Keyboards() []Keyboard }
Directories ¶
Path | Synopsis |
---|---|
plugins
|
|
collectors/idn
An internationalized domain name (IDN) is a domain name that includes characters outside of the Latin alphabet, such as letters from Arabic, Chinese, Cyrillic, or Devanagari scripts.
|
An internationalized domain name (IDN) is a domain name that includes characters outside of the Latin alphabet, such as letters from Arabic, Chinese, Cyrillic, or Devanagari scripts. |