code: func (mod *WebBee) Run(cin chan bees.Event) {
  	mod.eventChan = cin
  
  	srv := &http.Server{Addr: mod.addr, Handler: mod}
  	l, err := net.Listen("tcp", mod.addr)
  	if err != nil {
  		mod.LogErrorf("Can't listen on %s", mod.addr)
  		return
  	}
  	defer l.Close()
  
  	go func() {
  		err := srv.Serve(l)
  		if err != nil {
  			mod.LogErrorf("Server error: %v", err)
  		}
  		// Go 1.8+: srv.Close()
  	}()
  
  	select {
  	case <-mod.SigChan:
  		return
  	}
  }
docs: // Run executes the Bee's event loop.