Documentation
¶
Index ¶
- func MustNew(url string, httpClient *http.Client) schemaregistry.Repository
- func MustNewMock(schemas map[schemaregistry.ID]string) schemaregistry.Repository
- func WrapWithCache(next schemaregistry.Repository) schemaregistry.Repository
- func WrapWithLogging(next schemaregistry.Repository) schemaregistry.Repository
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 ¶
func WrapWithCache(next schemaregistry.Repository) schemaregistry.Repository
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.
Click to show internal directories.
Click to hide internal directories.