Documentation ¶
Overview ¶
This package is organizes the schema related use cases
In order to get started with a new schema
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { Name string Descriptor *desc.FileDescriptor }
type DatabaseManager ¶
type DatabaseManager interface {
StartDatabase(database Database)
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(repository WriteDatabaseRepository, manager DatabaseManager) *Server
func (*Server) CreateDatabase ¶
func (*Server) DescribeDatabase ¶
type WriteDatabaseRepository ¶
type WriteDatabaseRepository interface {
CreateDatabase(database string, fd *desc.FileDescriptor) error
}
Click to show internal directories.
Click to hide internal directories.