Golang drawer
177 subscribers
1 photo
5.03K links
Curated Golang news
Download Telegram
You want to make an external API only authenticated users can access. In this solution the authentication will be a token which clients will supply as an HTTP header.

https://rogerwelin.github.io//traefik/api/go/auth/2019/08/19/build-external-api-with-trafik-go.html
Kavya Joshi explores when and why locks affect performance, delves into Go’s lock implementation as a case study, and discusses strategies one can use when locks are actually a problem.

https://www.infoq.com/presentations/go-locks/
In this post I will show how to easily build an external api with authentication with help from Traefik. The usecase is the following: you want to make an external api only authenticated users can access. In this solution the authentication will be a token which clients will supply as an HTTP header. We will leverage Traefik to make the auth server and underlying api services loosely coupled.

https://rogerwelin.github.io//traefik/api/go/auth/2019/08/19/build-external-api-with-trafik-go.html