common

package
v0.4.57 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	SERVICENAME          = "casaos"
	BODY                 = " "
	RANW_NAME            = "IceWhale-RemoteAccess"
	FORK_RELEASE_VERSION = "v0.4.95"
	FORK_RELEASE_FILE    = "/var/lib/casaos/fork-release"
	FORK_VERSION_URL     = "https://github.com/ReCasaOS/CasaOS-Install/releases/latest/download/version.json"
	FORK_UPDATE_URL      = "https://github.com/ReCasaOS/CasaOS-Install/releases/latest/download/install.sh"
)

Variables

View Source
var EventTypes = []message_bus.EventType{
	{Name: "casaos:system:utilization", SourceID: SERVICENAME, PropertyTypeList: []message_bus.PropertyType{}},
	{Name: "casaos:file:recover", SourceID: SERVICENAME, PropertyTypeList: []message_bus.PropertyType{}},
	{Name: "casaos:file:operate", SourceID: SERVICENAME, PropertyTypeList: []message_bus.PropertyType{}},
}

devtype -> action -> event

View Source
var VERSION = "0.4.56"

VERSION is this component's own version, and the release build stamps it with the tag it is building: `-X github.com/ReCasaOS/CasaOS/common.VERSION={{.Version}}`.

It is a var for exactly that reason. As a constant it stayed at the version the fork was taken from, so every box answered `casaos -v` with 0.4.15 while running a binary built years later -- and the line at the end of an install read "ReCasaOS v0.4.15, distribution v0.4.94". The value below is what an unstamped build says: the tag this file was last released under, not a promise about the binary.

Not to be confused with FORK_RELEASE_VERSION above, which is the DISTRIBUTION this binary ships in. The two move on their own: a distribution release need not ship this component.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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