Extract k8s run error

This commit is contained in:
Asim Aslam
2020-01-18 02:13:24 +00:00
parent 65df711b01
commit 39d7938405
3 changed files with 27 additions and 1 deletions

View File

@@ -1,13 +1,18 @@
// Package runtime is a service runtime manager
package runtime
import "time"
import (
"errors"
"time"
)
var (
// DefaultRuntime is default micro runtime
DefaultRuntime Runtime = NewRuntime()
// DefaultName is default runtime service name
DefaultName = "go.micro.runtime"
ErrAlreadyExists = errors.New("already exists")
)
// Runtime is a service runtime manager