structure

package
v0.0.0-...-e9c76e9 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	XMLName xml.Name `xml:"channel"`
	Items   []Items  `xml:"item"`
}

type Data

type Data struct {
	MysqlUsername  string `json:"username"`
	MysqlPassword  string `json:"password"`
	TelegramApi    string `json:"telegram_api"`
	DiscordWebhook string `json:"discord_webhook"`
	ChannelName    string `json:"channel_name"`
}

type Items

type Items struct {
	XMLName     xml.Name `xml:"item"`
	Title       string   `xml:"title"`
	Link        string   `xml:"guid"`
	PublishDate string   `xml:"pubDate"`
}

type Rss

type Rss struct {
	XMLName xml.Name  `xml:"rss"`
	Channel []Channel `xml:"channel"`
}

Jump to

Keyboard shortcuts

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