globals

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Tempest- Leveraging paste sites as a medium for discovery Copyright © 2023 ax-i-om <addressaxiom@pm.me>

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 <https://www.gnu.org/licenses/>.

package globals contains global variables used throughout Tempest

Index

Constants

This section is empty.

Variables

View Source
var Csvfile *os.File = nil
View Source
var Existed bool

Checks if a CSV file with filename: filename already exists to determine whether or not to write headers

View Source
var Jsonfile *os.File = nil

Global declaration of files/writers in order to write/flush from anywhere in main

View Source
var Mode, Filename string

Stores output mode and filename

View Source
var Src = rand.NewSource(time.Now().UnixNano())

Custom sync.WaitGroup that implements a counter, used in run() for graceful cleanup

View Source
var WriteMutex sync.Mutex

Mutex lock for write()

View Source
var Writer *csv.Writer = nil

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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