Arish Ahmadblog.arishahmad.in·Sep 19, 2024Setting Up a Go Web Server on Amazon EC2Launching EC2 with Amazon Linux Open the AWS Management Console and navigate to the EC2. Click “Launch instances”. Enter an appropriate instance name. Select “Amazon Linux” under “Application and OS Images”. Select any “Free tier eligible” I...Discuss·27 readsec2
Hongtech.mrleong.net·May 6, 2024Gin vs. Fiber: A Quick 2-Minute ComparisonBoth Gin and Fiber claim to be high-performance web frameworks. This is a quick comparison for busy developers. Fiber Strengths: Performance: Fiber boasts excellent performance, often exceeding Gin in benchmarks, especially for simple use cases. It...Discuss·128 readsProTipsGo
Dhairya Vermarajurastogi.hashnode.dev·Nov 1, 2023Golang: Gin middleware for authenticationIn this blog, we will delve into gin middleware to authorize the user access Token. sampleRoute := router.Group("/sample") // we are telling gin to use TokenAuthMiddleware // for all requests with path /sample/* sampleRoute.Use(middle...Discuss·409 readsGo Language
SHIVANI GANIMUKKULAshivanig.hashnode.dev·Oct 19, 2023Gin & GORM in GolangGolang is an open-source, procedural and statically typed programming language designed by Google. Go is popular because of its simplicity, readability, efficiency, and concurrent nature. Go is used for backend programming, also popular for making co...Discuss·170 readsgolang
Sidharthan Chandrasekaran KamarajforThe Bug Shotsthebugshots.dev·Sep 6, 2023Safeguard Your REST APIs Using Open Policy Agent - OPAAuthorization is a crucial concern for most applications. As app logic grows, permission checks often get scattered across handlers, middlewares, and external services. This leads to duplicated logic and inconsistencies. Open Policy Agent (OPA) provi...Discuss·139 readsGolangopa
Arsham Aryaarshamalh.hashnode.dev·Mar 10, 2023Trying to shut down a gin server... (goroutines and channels tips)Sometimes I write about specific real-world problems I faced at work in the past.In this article, I was trying to gracefully shut down my gin server and start it again through the application itself, without re-running my application. I learned some ...Discuss·1 like·66 readsGo Language
Carlos Armando Marcano Vargascarlosmv.hashnode.dev·Nov 15, 2022JWT Authentication with Gin | GoIn this article, we will build an authentication API with two endpoints, a register endpoint to sign up users and a login endpoint. Then we will add two endpoints that will need authentication and authorization to get access. For this article will b...Discuss·2 likes·2.7K readsgin