kore/examples/pgsql
Joris Vink f6cd16c567 Replace static/dynamic with a single option: route
Kore will automatically detect if a route is a dynamic or static one
so there is no need for the configuration options to differ anymore.
2019-11-15 08:11:02 +01:00
..
conf Replace static/dynamic with a single option: route 2019-11-15 08:11:02 +01:00
src Let http_state_create() take an "onfree" callback. 2019-04-28 21:48:16 +02:00
.gitignore add a .gitignore here 2014-09-19 14:51:14 +02:00
README.md kore -> kodev where appropriate 2017-03-06 11:00:53 +01:00

README.md

Kore pgsql example.

This example demonstrates how one can use Kore state machines and the pgsql api to make fully asynchronous SQL queries.

Asynchronous in this case meaning, without interrupting a Kore worker its other clients their I/O or http requests.

Tons of comments inside on how everything works.

Run:

	# kodev run