摘要:
Access token is for short duration access. Refresh token is for medium duration access, saved in database.
阅读全文
posted @ 2023-12-23 14:13
ZhangZhihuiAAA
阅读(12)
推荐(0)
摘要:
zzh@ZZHPC:/zdata/Github/zimplebank$ npm install -g @dbml/cli zzh@ZZHPC:/zdata/Github/zimplebank$ dbml2sql --help Usage: dbml2sql [options] <files...>
阅读全文
posted @ 2023-12-23 11:17
ZhangZhihuiAAA
阅读(41)
推荐(0)
摘要:
zzh@ZZHPC:~$ npm install -g dbdocs zzh@ZZHPC:~$ dbdocs login ? Choose a login method: Email ? Your email: ZhangZhihuiAAA@126.com ✔ Request email authe
阅读全文
posted @ 2023-12-23 10:41
ZhangZhihuiAAA
阅读(54)
推荐(0)
摘要:
func TestLoginUserAPI(t *testing.T) { user, password := randomUser(t) testCases := []struct { name string body gin.H buildStubs func(store *mockdb.Moc
阅读全文
posted @ 2023-12-21 21:40
ZhangZhihuiAAA
阅读(10)
推荐(0)
posted @ 2023-12-21 10:02
ZhangZhihuiAAA
阅读(15)
推荐(0)
摘要:
Run kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/aws-auth.yaml kubectl apply -f eks/deployment.yaml kubectl apply -f eks/service.yaml shell
阅读全文
posted @ 2023-12-20 22:12
ZhangZhihuiAAA
阅读(25)
推荐(0)
摘要:
Error: Kubectl '1.29.0' for 'amd64' arch not found Changing - name: Install kubectl uses: azure/setup-kubectl@v3 with: version: '1.28.2' # version of
阅读全文
posted @ 2023-12-20 21:44
ZhangZhihuiAAA
阅读(20)
推荐(0)
摘要:
server_cert.pem: https://github.com/grpc/grpc-go/tree/master/examples/data/x509/server_cert.pem server_key.pem: https://github.com/grpc/grpc-go/tree/m
阅读全文
posted @ 2023-12-20 20:27
ZhangZhihuiAAA
阅读(35)
推荐(0)
摘要:
https://cert-manager.io/docs/ cert-manager cert-manager adds certificates and certificate issuers as resource types in Kubernetes clusters, and simpli
阅读全文
posted @ 2023-12-20 19:50
ZhangZhihuiAAA
阅读(11)
推荐(0)
摘要:
If we only have one service, we can easily add an A record in the domain in AWS Route 53. But it will be a pain when we have a lot more of them, becau
阅读全文
posted @ 2023-12-20 17:05
ZhangZhihuiAAA
阅读(20)
推荐(0)