module
Version:
v0.0.0-...-eb69673
Opens a new window with list of versions in this module.
Published: Jul 10, 2020
License: Apache-2.0
Opens a new window with license information.
README
¶
go-micro-ci-common
基于Golang开发的微CI公共库
2020-07-10 logrusScope 新增 catch 方法
- 可以在call与then这后调用catch
- 返回错误则会继续调用onError, 如返回空,继续then
2020-07-10 service 新增 disableCommonEnv
- 部署时,如disableCommonEnv:true时,容器启动不会使用commonEnv的定义
- 容器环境变量覆盖优先级 commonEnv(if not 如disableCommonEnv) < registryEnv < serviceEnv
2020-07-06 logrusScope.internal call panic策略
- 在call之前进行defer recover
- 上报panic的stack
- 将panic转换成error
2020-07-03 日志模块新增 v0.0.2-logs
- call 与 then 支持自定义函数调用
- 原 call 与 then 重构为 handle 与 thenHandle
- 新增 LogrusScopeWriter 与 io.Writer的适合器
2020-07-02 新增日志模块 v0.0.1-logs
- micro_logrus.go go-micro日志适配器
- logrus_scope.go 基于logrus entry的封装,支持then和onerror调用,
2020-06-29 新增registry定义
registry:
type: consul
address: "consul"
port: 8500
useSSL: false
daemon程序应该会根据registry定义,连接服务注册表,如未能连接,则偿式从yaml找寻相应的服务定义,启动此服务。
2020-06-12 初始提交
- utils目录 常用公共函数
- yaml 基于Yaml的ci基本结构体定义
Directories
¶
Click to show internal directories.
Click to hide internal directories.