Gin - RSA512 signature using JWT's asymmetric encryption algorithm

1.RSA asymmetric encryption RSA asymmetric encryption encrypts the signature, not the header and load of jwt. The header and load are encrypted with base64 jwt official website You can know Tokens are put together by spelling strings. It is concluded that: 1. User defined data can be placed in the load, but sensitive data cannot be placed. ...

Posted by panic! on Mon, 06 Dec 2021 16:03:23 -0800

Go + Collection tutorial (4.3)

catalogue Go + overview Collection collection Index method Include method Any method All method Filter method Go + overview Go + is a branch of go and data science that integrates engineering development   Scratch in the field of Python and programming teaching combines the form of python with the heart of go, so that engineers d ...

Posted by Qlubbie on Sat, 27 Nov 2021 11:01:15 -0800

Gin framework: log configuration management

introduceThrough a complete example, manage logs reasonably in the Gin framework.What are the usage scenarios?Log auto scroll Split into multiple log files Log format modification waitWe will use rk-boot To start the microservices of the Gin framework.Please visit the following address for a complete tutorial:https://rkdocs.netlify.app/cnins ...

Posted by phpPunk on Fri, 26 Nov 2021 11:47:10 -0800

Gin framework: add API logging Middleware

introduceThrough a complete example, add API logging middleware to the micro service based on Gin framework.What is log interceptor / Middleware?The log interceptor logs every API request.We will use rk-boot To start the microservices of the Gin framework.Please visit the following address for a complete tutorial: https://rkdocs.netlify.app/cni ...

Posted by allelopath on Wed, 03 Nov 2021 20:43:13 -0700

gin introduces viper and gorm (tutorial part2)

preface I'm a programmer. This is the tutorial (part2) for creating the zero foundation of gin + vue. I will update the front and back source code of this tutorial to my gitee account synchronously: https://gitee.com/coderwusi . github account: https://github.com/coderwusi. Create a new project root folder, gin base cli, and create a new mai ...

Posted by kartul on Wed, 29 Sep 2021 11:21:59 -0700