nop

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct{}

Backend can be used in cases where no backend is specified to avoid the need to check for nil pointers in all resolvers.

func New

func New() *Backend

func (*Backend) Close

func (*Backend) Close(_ context.Context) error

func (*Backend) Get

func (*Backend) Get(_ context.Context, _, _ string) (string, error)

func (*Backend) Set

func (*Backend) Set(_ context.Context, _, _, _ string) error

Jump to

Keyboard shortcuts

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