queue

package
v0.0.0-...-83a686f Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidName

type InvalidName struct {
	Errors []error
}

func (*InvalidName) Error

func (i *InvalidName) Error() string

type Name

type Name string

Name of a queue

func NameFromString

func NameFromString(s string) (*Name, error)

NameFromString takes a string and returns a Queue Name if valid, otherwise returns an InvalidName error.

Mostly taken from https://github.com/elastic/elasticsearch/blob/a8b39ed842c7770bd9275958c9f747502fd9a3ea/server/src/test/java/org/elasticsearch/cluster/metadata/MetaDataCreateIndexServiceTests.java#L465-L497

Jump to

Keyboard shortcuts

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