update

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfoUpdate

type InfoUpdate struct {
	// contains filtered or unexported fields
}

func NewUpdate

func NewUpdate(request warp.Request, warpVersion string, firmwareVersion string) *InfoUpdate

func (*InfoUpdate) UpdateAvailable

func (i *InfoUpdate) UpdateAvailable() (*Update, error)

type Tags

type Tags struct {
	Name   string `json:"name"`
	ZipUrl string `json:"zipball_url"`
	TarUrl string `json:"tarball_url"`
}

type Update

type Update struct {
	Available      bool   `json:"update_available" yaml:"update_available"`
	UpdateVersion  string `json:"update_version" yaml:"update_version"`
	CurrentVersion string `json:"current_version" yaml:"current_version"`
}

Jump to

Keyboard shortcuts

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