Coder Social home page Coder Social logo

wxl279414347 / plugin-gateway Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monibuca/plugin-gateway

1.0 0.0 0.0 16.22 MB

控制台界面插件,可显示自己以及其他插件的UI界面,并提供HTTP的API接口访问

License: MIT License

JavaScript 39.66% HTML 1.07% Vue 46.86% Go 12.41%

plugin-gateway's Introduction

网关插件

该插件提供一下功能:

  1. 提供HTTP协议的API接口
  2. 提供控制台UI界面的框架,可以展示其他插件的UI界面
  3. 自身提供一个显示系统实时状态的界面

插件名称

GateWay

配置

目前仅有的配置是监听的端口号

[GateWay]
ListenAddr = ":8081"

使用方法

插件随实例启动而启动,打开浏览器访问配置好的端口即可,例如http://localhost:8081,根据实际情况访问

API

  • /api/sysInfo 获取系统信息,包含引擎版本和实例启动时间
  • /api/summary 获取系统实时状态,包括cpu、内存、网卡流量数据
  • /api/config 获取配置文件
  • /api/plugins 获取所有插件信息
  • /api/listenInfo 收听流的缓冲信息
  • /api/snapshot 获取缓冲快照数据
  • /api/tagRaw 获取音视频Tag的原始二进制数据
  • /api/modifyConfig 修改插件配置

plugin-gateway's People

Contributors

langhuihui avatar dependabot[bot] avatar

Stargazers

 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.