13 lines
249 B
Go
13 lines
249 B
Go
package runtime
|
|
|
|
type Runtime interface {
|
|
// Init initializes runtime
|
|
Init(...Option) error
|
|
// Start starts the runtime
|
|
Start() error
|
|
// Stop shuts down the runtime
|
|
Stop() error
|
|
// String defines the runtime implementation
|
|
String() string
|
|
}
|