Documentation
¶
Index ¶
Constants ¶
View Source
const TypeAvro = schema.TypeAvro
Variables ¶
View Source
var ( ErrSubjectNotFound = pprocutils.ErrSubjectNotFound ErrVersionNotFound = pprocutils.ErrVersionNotFound ErrInvalidSchema = pprocutils.ErrInvalidSchema )
View Source
var SchemaService pprocutils.SchemaService = newCachedSchemaService(NewInMemoryService())
Functions ¶
Types ¶
type InMemoryService ¶
type InMemoryService struct {
// contains filtered or unexported fields
}
func NewInMemoryService ¶
func NewInMemoryService() *InMemoryService
func (*InMemoryService) CreateSchema ¶
func (s *InMemoryService) CreateSchema(_ context.Context, request pprocutils.CreateSchemaRequest) (pprocutils.CreateSchemaResponse, error)
func (*InMemoryService) GetSchema ¶
func (s *InMemoryService) GetSchema(_ context.Context, request pprocutils.GetSchemaRequest) (pprocutils.GetSchemaResponse, error)
Click to show internal directories.
Click to hide internal directories.