Coder Social home page Coder Social logo

bipabo1l / tyrantsocket Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 6.0 640 KB

基于go的redis扫描任务集群,集群间通过socket管理。一台Server管理多台Agent,建立双向通信,自定义发送命令,全双工模式,支持断线重连机制,Server端主动发送命令、http接口化调用、基于beego的web页面展示。

Go 100.00%

tyrantsocket's Introduction

TyrantSocket

一台Server管理多台Agent,建立双向通信,自定义发送命令,全双工模式,支持断线重连机制,基于github.com/mxi4oyu/MoonSocket,增加Server端主动发送命令、http接口化调用、基于beego的web页面展示。

Installation

Use the go command:

$ go get github.com/bipabo1l/TyrantSocket

usage

语法

go run server/server.go go run client/agent.go 说明

分别执行在server和agent目录下的server.go agent.go,然后访问http://localhost:8849 web页面。 目前支持批量获取Agent状态,json形式返回。接口url:http://localhost:8849?key=getstatus

示例

image

2017-10-27 v1.1 支持web页面查看当前开放的agent

v1.2 可以查看当前开放的agent正在扫描的ip段信息

tyrantsocket's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tyrantsocket's Issues

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.