qversion

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFortressOne added in v0.1.14

func IsFortressOne(version string) bool

func IsFte

func IsFte(version string) bool

func IsMvdsv

func IsMvdsv(version string) bool

func IsQtv

func IsQtv(version string) bool

func IsQwfwd added in v0.1.14

func IsQwfwd(version string) bool

func IsType

func IsType(version string, serverType Type) bool

Types

type Type

type Type string
const (
	TypeFte         Type = "fte"
	TypeMvdsv       Type = "mvdsv"
	TypeQwfwd       Type = "qwfwd"
	TypeQtv         Type = "qtv"
	TypeFortressOne Type = "fo svn"
	TypeUnknown     Type = "unknown"
)

func GetType

func GetType(v string) Type

type Version

type Version string

func New

func New(value string) Version

func (Version) GetType

func (v Version) GetType() Type

func (Version) IsFortressOne added in v0.1.14

func (v Version) IsFortressOne() bool

func (Version) IsFte

func (v Version) IsFte() bool

func (Version) IsMvdsv

func (v Version) IsMvdsv() bool

func (Version) IsQtv

func (v Version) IsQtv() bool

func (Version) IsQwfwd added in v0.1.14

func (v Version) IsQwfwd() bool

func (Version) IsType

func (v Version) IsType(t Type) bool

Jump to

Keyboard shortcuts

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