qversion

package
v0.1.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFte

func IsFte(version string) bool

func IsGameServer

func IsGameServer(version string) bool

func IsMvdsv

func IsMvdsv(version string) bool

func IsProxy

func IsProxy(version string) bool

func IsQtv

func IsQtv(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"
	TypeProxy   Type = "qwfwd"
	TypeQtv     Type = "qtv"
	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) IsFte

func (v Version) IsFte() bool

func (Version) IsGameServer

func (v Version) IsGameServer() bool

func (Version) IsMvdsv

func (v Version) IsMvdsv() bool

func (Version) IsProxy

func (v Version) IsProxy() bool

func (Version) IsQtv

func (v Version) IsQtv() 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