Code Review
/
ealt-edge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
https support for mepagent
[ealt-edge.git]
/
mep
/
mepagent
/
SampleApp
/
src
/
main
/
main.go
diff --git
a/mep/mepagent/SampleApp/src/main/main.go
b/mep/mepagent/SampleApp/src/main/main.go
index
6c6fcee
..
9f536e5
100644
(file)
--- a/
mep/mepagent/SampleApp/src/main/main.go
+++ b/
mep/mepagent/SampleApp/src/main/main.go
@@
-18,8
+18,15
@@
package main
import (
"github.com/akraino-edge-stack/ealt-edge/mep/mepagent/pkg/service"
+ "time"
)
func main() {
_, _ = service.SvcReg("./conf/app_instance_info.yaml")
+ Heart()
}
+
+func Heart() {
+ time.Sleep(time.Hour)
+}
+