relver

package
v0.0.0-...-964c2da Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PERMISSION_BASE   = "relver"
	PERMISSION_UPDATE = PERMISSION_BASE + "." + "update"
)

Variables

View Source
var Service = new(relver)

Functions

This section is empty.

Types

type Release

type Release struct {
	Version  semver.Version `json:"version"`
	Download string         `json:"filename"`
	Size     int            `json:"size"`
}

type ReleaseVersion

type ReleaseVersion interface {
	Update(token string) (error, bool)
	GetRelease() (Release, error)
	GetPreRelease() (Release, error)
	GetReleases() []Release
}

Jump to

Keyboard shortcuts

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