cwversion

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Constraint_parser   = ">= 1.0, <= 3.0"
	Constraint_scenario = ">= 1.0, <= 3.0"
	Constraint_api      = "v1"
	Constraint_acquis   = ">= 1.0, < 2.0"
)

Variables

View Source
var (
	Codename string         // = "SoumSoum"
	System   = runtime.GOOS // = "linux"
	Libre2   = "WebAssembly"
)

Functions

func Latest added in v0.3.2

func Latest() (string, error)

Latest return latest crowdsec version based on github

func Satisfies added in v1.5.2

func Satisfies(strvers string, constraint string) (bool, error)

func Show

func Show()

func ShowStr added in v1.0.0

func ShowStr() string

func VersionStr

func VersionStr() string

func VersionStrip added in v1.0.10

func VersionStrip() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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