Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add new interfaces
[ric-plt/xapp-frame.git]
/
pkg
/
xapp
/
xapp.go
diff --git
a/pkg/xapp/xapp.go
b/pkg/xapp/xapp.go
index
c51e0ac
..
1fd7ad6
100755
(executable)
--- a/
pkg/xapp/xapp.go
+++ b/
pkg/xapp/xapp.go
@@
-25,7
+25,7
@@
import (
"net/http"
)
"net/http"
)
-type ReadyCB func()
+type ReadyCB func(
interface{}
)
var (
// XApp is an application instance
var (
// XApp is an application instance
@@
-42,8
+42,8
@@
func IsReady() bool {
return Rmr.IsReady() && Sdl.IsReady()
}
return Rmr.IsReady() && Sdl.IsReady()
}
-func SetReadyCB(cb ReadyCB) {
- Rmr.SetReadyCB(cb)
+func SetReadyCB(cb ReadyCB
, params interface{}
) {
+ Rmr.SetReadyCB(cb
, params
)
}
func init() {
}
func init() {