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 models contains types used throughout Tempest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CMRInfo ¶ added in v0.9.0
type CMRInfo struct { Name string `json:"name"` Weblink string `json:"weblink"` Size int `json:"size"` Mtime int `json:"mtime"` Hash string `json:"hash"` Kind string `json:"kind"` Type string `json:"type"` Malware struct { Status string `json:"status"` } `json:"malware"` Public struct { Type string `json:"type"` Name string `json:"name"` ID string `json:"id"` Ctime int `json:"ctime"` } `json:"public"` }
CMRInfo represents the extracted metadata from cloud.mail.ru files/folders
type Entry ¶
type Entry struct { Source string `json:"source"` Link string `json:"link"` Title string `json:"title"` Description string `json:"description"` Service string `json:"service"` Uploaded string `json:"uploaded"` Mtime string `json:"mtime"` Type string `json:"type"` Size string `json:"size"` FileCount int `json:"filecount"` Thumbnail string `json:"thumbnail"` Downloads int `json:"downloads"` Views int `json:"views"` Hash string `json:"hash"` Malware string `json:"malware"` }
Entry represents the extracted link and it's accompanying data.
type WaitGroupCount ¶
WaitGroupCount represents a countable sync.WaitGroup