implschemaregistry

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNew

func MustNew(url string, httpClient *http.Client) schemaregistry.Repository

MustNew returns a new valid schemaregistry.Repository but panics in case on an error

func MustNewMock

func MustNewMock(schemas map[schemaregistry.ID]string) schemaregistry.Repository

MustNewMock creates a mock schema registry.

func WrapWithCache

WrapWithCache wraps @next with a schemaByIDCache layer that stores the result indefinitely

func WrapWithLogging

func WrapWithLogging(next schemaregistry.Repository) schemaregistry.Repository

WrapWithLogging wraps @next with a logging layer

Types

This section is empty.

Jump to

Keyboard shortcuts

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