feat: new registry
This commit is contained in:
12
internal/registry_new/engine.go
Normal file
12
internal/registry_new/engine.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package registrynew
|
||||
|
||||
type Process interface {
|
||||
Get() (Expr, error)
|
||||
Step(int) bool
|
||||
}
|
||||
|
||||
type Engine interface {
|
||||
Load(Expr) Process
|
||||
Name() string
|
||||
InRepr() string
|
||||
}
|
||||
Reference in New Issue
Block a user