edgedict

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Overview

Package edgedict provides a read-only interface to edge dictionaries. Refer to https://developer.fastly.com/reference/api/dictionaries/ for more information.

Deprecated: Use the configstore package instead.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrDictionaryNotFound indicates the named dictionary doesn't exist.
	ErrDictionaryNotFound = configstore.ErrStoreNotFound

	// ErrDictionaryNameEmpty indicates the given dictionary name
	// was empty.
	ErrDictionaryNameEmpty = configstore.ErrStoreNameEmpty

	// ErrDictionaryNameInvalid indicates the given dictionary name
	// was invalid.
	ErrDictionaryNameInvalid = configstore.ErrStoreNameInvalid

	// ErrDictionaryNameTooLong indicates the given dictionary name
	// was too long.
	ErrDictionaryNameTooLong = configstore.ErrStoreNameTooLong

	// ErrKeyNotFound indicates a key isn't in a dictionary.
	ErrKeyNotFound = configstore.ErrKeyNotFound
)

Functions

This section is empty.

Types

type Dictionary deprecated

type Dictionary = configstore.Store

Dictionary is a read-only representation of an edge dictionary.

Deprecated: Use the configstore package instead.

func Open deprecated

func Open(name string) (*Dictionary, error)

Open returns an edge dictionary with the given name. Names are case sensitive.

Deprecated: Use configstore.Open() instead.

Jump to

Keyboard shortcuts

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