overflow_probe/discovery/communicate/communicate.go

27 lines
378 B
Go
Raw Normal View History

2017-08-03 10:08:34 +00:00
package communicate
import (
"fmt"
2017-08-04 02:32:31 +00:00
//"git.loafle.net/overflow/overflow_probe/central/client/events"
2017-08-03 10:08:34 +00:00
)
var _c *communicator = nil
func init() {
fmt.Println("init communicator")
//_c = NewCommunicator()
//_c.start()
}
func SetRootURL(url string) {
_c.RootURL = url
}
func GetRootURL() string {
return _c.RootURL
}
//func Send(e *events.Event) {
// _c.addEvent(e)
//}