Block a user
wip-flag-migration
I don't think mutex is needed here, it will be loaded once (before threads) and only read from then right?
wip-flag-migration
First, as I said, let's not spend time on this, since this code will be gone when you implement db.gdbmDb in dev-0.1.0.
That said, choosing flag on os.Stat would be the way to go, I guess.
As…
Use integer storage identifiers for user data
wip-flag-migration
also seems unnecessary, there should be one single source of flag label to value map.
External tool to block account
go-vise branch lash/engine-first provides engine.SetFirst() which allows setting pre-VM EntryFunc to be executed. Docs follow momentarily.