mrheinen / lophiid

A distributed honeypot for monitoring large scale web attacks
GNU General Public License v2.0
6 stars 1 forks source link

Auto generate go and js constants from database enums #50

Open mrheinen opened 1 month ago

mrheinen commented 1 month ago

In the database we have a couple of enums that also are defined in javascript and go constants. These now need to be kept in sync manually. We should automated this and use the database enums are the source of truth.

mrheinen commented 1 week ago

This does require renaming some of the database types to make the naming more consistent