mmdb

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(s string) bool

Types

type Type

type Type int8
const (
	Lite Type = iota + 15
	Max

	Invalid = -1
)

func ParseType

func ParseType(s string) Type

func (Type) GetCommandType

func (t Type) GetCommandType() cmd.CommandType

GetCommandType implements cmd.GeneralType

func (Type) GetDefault

func (t Type) GetDefault() cmd.GeneralType

GetDefault implements cmd.GeneralType

func (Type) IsON

func (t Type) IsON() bool

IsON implements cmd.GeneralType

func (Type) IsValid

func (t Type) IsValid() bool

func (Type) String

func (t Type) String() string

String implements cmd.GeneralType

Jump to

Keyboard shortcuts

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