models

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article added in v1.1.1

type Article struct {
	Title       string
	URL         string
	PublishDate time.Time
	Release     bool
	Product     string
	Version     string
}

type DiscordMessage

type DiscordMessage struct {
	ChannelID string
	Message   string
}

type GetTypesFunction

type GetTypesFunction func() ([]string, error)

type LatestVersion

type LatestVersion struct {
	Version semver.Version
	Time    time.Time
}

type LatestVersionFunction

type LatestVersionFunction func(string) (semver.Version, error)

type Product

type Product struct {
	Class    string
	Name     string
	Latest   LatestVersion
	Function LatestVersionFunction
}

type RegisterFunction

type RegisterFunction func() (string, LatestVersionFunction)

type Subscription

type Subscription struct {
	ChannelID string
	Class     string
	Name      string
	Target    string
}

type Whisper added in v1.4.0

type Whisper struct {
	Who     string
	Message string
}

Jump to

Keyboard shortcuts

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