Random Sumit.

A learning log. Things I build, things I figure out, and life outside the screen.

Tag: concurrency ✕ Clear filter
  1. April 27, 2024 · Work · 5 min · golang · concurrency

    Building a basic token manager

    Learn how to build a basic token manager in Go for handling access tokens required by APIs. This post covers using goroutines for concurrent token generation, caching tokens with atomic operations for thread-safety, and periodic token refreshing based on expiration duration.

    Read →