Coder Social home page Coder Social logo

zk-updater's Introduction

zk-updater

项目特点

  1. 使用golnag 开发, 利用golang原生的channel 机制实现消息通知, 更新事件生产消费
  2. go mod 管理依赖, 开发环境依赖通过go get远程包, 运行环境无需依赖
  3. 实现飞书通知

编译

执行build.sh cross 交叉编译linux环境二进制程序, 生成文件在 dist目录

部署

建议容器化部署

组件

  1. cmd 程序主入口
  2. internal
    1. config: 此包import后自动执行init 加载配置文件获取节点信息
    2. node: 核心程序, 负责巡检和监听及执行更新事件
    3. notify: 开启消息队列, 有消息过来发送给飞书api
    4. utils/kcagent: kms加密agent的调用封装

zk-updater's People

Watchers

bai-lu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.