code: func DeleteDeviceSession(p *redis.Pool, devEUI lorawan.EUI64) error {
  	c := p.Get()
  	defer c.Close()
  
  	val, err := redis.Int(c.Do("DEL", fmt.Sprintf(deviceSessionKeyTempl, devEUI)))
  	if err != nil {
  		return errors.Wrap(err, "delete error")
  	}
  	if val == 0 {
  		return ErrDoesNotExist
  	}
  	log.WithField("dev_eui", devEUI).Info("device-session deleted")
  	return nil
  }
docs: // DeleteDeviceSession deletes the device-session matching the given DevEUI.