discovery/communicate/communicate.go

28 lines
364 B
Go
Raw Normal View History

2017-06-26 10:10:52 +00:00
package communicate
import (
"fmt"
//"git.loafle.net/overflow/central/client/events"
)
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)
//}