Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry interface {
// Returns the schema for the given schema key.
Get(key string) (string, error)
// Returns the the key of the schema on success.
Set(schema string) (string, error)
// Closes all resources.
Close() error
}
func NewCachedRegistry ¶
func NewConsulSchemaRegistry ¶
func NewNoopRegistry ¶
func NewNoopRegistry() Registry
Click to show internal directories.
Click to hide internal directories.