Beispiel #1
0
func (r CallbackReceiver) Init(srvr *server.Server) {
	srvr.Register("POST", CB_PATH, r)
}
Beispiel #2
0
func (r APIResponder) Init(srvr *server.Server) {
	log.Printf("Init() called for responder %s", r.path)
	for key, _ := range r.processorMap {
		srvr.Register(key, r.path, r)
	}
}