Nugget post: Registering interfaces with Gin-gonic Sessions

When building a Gin-gonic based web application, you'll probably come across a situation where you'd like to store information about the request in a session - essentially anything that requires HTTP cookies. Gin+gonic provides the "sessions" middleware to address this: https://github.com/gin-contrib/sessions Gin middleware for session management with multi-backend support: - cookie-based - Redis - memcached … Continue reading Nugget post: Registering interfaces with Gin-gonic Sessions

Kotlin Coroutines – Flow parallel processing

Meant as an alternative to the Kotline Coroutine "Channel", a "Flow" is another way of enabling communication between two co-routines. The difference between the two is essentially that a channel is "hot" (i.e. starts as soon as it is declared), while a flow is "cold" (i.e. only starts when required (or "subscribed to" in reactive … Continue reading Kotlin Coroutines – Flow parallel processing