prefixer

package
v0.0.0-...-4b98c26 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const UnknownDomainName string = "<unknown>"

UnknownDomainName represents the human-readable string of an empty domain name of a prefixer struct

Variables

View Source
var GlobalPrefixer = NewPrefixer("", "global")

GlobalPrefixer returns a global prefixer with the wildcard '*' as prefix.

Functions

This section is empty.

Types

type Prefixer

type Prefixer interface {
	DBPrefix() string
	DomainName() string
}

Prefixer interface describes a handle for a specific instance by its domain and a specific and unique prefix.

func NewPrefixer

func NewPrefixer(domain, prefix string) Prefixer

NewPrefixer returns a prefixer with the specified domain and prefix values.

Jump to

Keyboard shortcuts

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