code: func Setup(conf config.Config) error {
  	keks = make(map[string][]byte)
  
  	netID = conf.NetworkServer.NetID
  	rx2DR = conf.NetworkServer.NetworkSettings.RX2DR
  	rx1DROffset = conf.NetworkServer.NetworkSettings.RX1DROffset
  	rx1Delay = conf.NetworkServer.NetworkSettings.RX1Delay
  
  	for _, k := range conf.JoinServer.KEK.Set {
  		kek, err := hex.DecodeString(k.KEK)
  		if err != nil {
  			return errors.Wrap(err, "decode kek error")
  		}
  
  		keks[k.Label] = kek
  	}
  
  	return nil
  }
docs: // Setup configures the package.