05 2022 档案
摘要:代码 package main import ( "encoding/json" "fmt" "net/http" "sync" ) var dirEngineChan sync.Map func main() { dHandler := dagHandler{} http.Handle("/v1/
阅读全文
摘要:代码目录: main.go go.mod go.sum makeData/makeData.go main.go: package main import ( "fmt" "strconv" "strings" //"mysqltaskdirdemo/makeData" "gorm.io/drive
阅读全文
摘要:1. 什么是服务注册与发现 我们先来看下什么是服务注册与服务发现? 服务注册,就是将提供某个服务的模块信息(通常是这个服务的ip和端口)注册到1个公共的组件上去(比如: zookeeper\consul)。 服务发现,就是新注册的这个服务模块能够及时的被其他调用者发现。不管是服务新增和服务删减都能实
阅读全文
摘要:Gitlab官方文档:https://docs.gitlab.com/ee/ci/yaml/README.html https://docs.gitlab.com/ee/ci/yaml/gitlab_ci_yaml.html https://docs.gitlab.com/ee/ci/docker/
阅读全文