models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 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 CacheEntry

type CacheEntry struct {
	Data      []byte    `json:"data"`
	Timestamp time.Time `json:"timestamp"`
}

type DiffResult

type DiffResult struct {
	VersionA string
	VersionB string
	Diff     string
	HasDiff  bool
	Error    error
}

type DockerTag

type DockerTag struct {
	Version     string `json:"version"`
	Tag         string `json:"tag"`
	LastUpdated string `json:"last_updated"`
}

type ElectronMap

type ElectronMap map[string]string

type ExtractResult

type ExtractResult struct {
	Version string
	Path    string
	Error   error
}

type FetchResult

type FetchResult struct {
	RSS      []RSSVersion
	Docker   []DockerTag
	Electron ElectronMap
	Error    error
}

type RSSVersion

type RSSVersion struct {
	Version   string      `json:"version"`
	Type      VersionType `json:"type"`
	Date      string      `json:"date"`
	Electron  string      `json:"electron"`
	Title     string      `json:"title"`
	IsEarly   bool        `json:"is_early"`
	Chromium  string      `json:"chromium,omitempty"`
	DockerTag string      `json:"docker_tag,omitempty"`
}

type VersionType

type VersionType string
const (
	Desktop VersionType = "Desktop"
	Mobile  VersionType = "Mobile"
)

Jump to

Keyboard shortcuts

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