meta

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrUnsupportedMeta

func ErrUnsupportedMeta(metaType Type) error

Types

type Type

type Type string

Type is a special string that can be used to identify the type of meta

const (
	TypeInvalid Type = "invalid"
	TypeMemory  Type = "memory"
	TypeFile    Type = "file"
	TypeMySQL   Type = "mysql"
)

func AtoType

func AtoType(s string) Type

AtoType can be used to attempt to convert a string to a meta type

func (Type) String

func (m Type) String() string

String can be used to convert a meta type into a string type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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