cwversion

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version             string // = "v0.0.0"
	Codename            string // = "SoumSoum"
	BuildDate           string // = "I don't remember exactly"
	Tag                 string // = "dev"
	GoVersion           string // = "1.13"
	Constraint_parser   = ">= 1.0, < 2.0"
	Constraint_scenario = ">= 1.0, < 3.0"
	Constraint_api      = "v1"
	Constraint_acquis   = ">= 1.0, < 2.0"
)

Functions

func Latest added in v0.3.2

func Latest() (string, error)

Latest return latest crowdsec version based on github

func Show

func Show()

func ShowStr added in v1.0.0

func ShowStr() string

func Statisfies

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

func VersionStr

func VersionStr() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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