Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyRegistered = fmt.Errorf("already registered")
View Source
var ErrNotFound = fmt.Errorf("not found")
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { Register(program string, fqn string) (hash string, err error) Get(hash string) (program pyexp.Runtime, err error) }
Registry is a registry of PyExp. The PyExp Registry is a cache of PyExp Programs This allows the runtime to store the program regardless to the feature definition, and to execute programs by passing their hash.
Click to show internal directories.
Click to hide internal directories.