mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-01 07:02:35 +08:00
21 lines
388 B
CoffeeScript
21 lines
388 B
CoffeeScript
service = require './service'
|
|
action = require './action'
|
|
|
|
module.exports =
|
|
name: 'shadowsocks'
|
|
type: 'service'
|
|
|
|
action: action
|
|
service: service
|
|
|
|
layout:
|
|
style: '/style/layout.css'
|
|
|
|
panel:
|
|
widget: service.widget
|
|
script: '/script/panel.js'
|
|
style: '/style/panel.css'
|
|
|
|
service.monitoring()
|
|
setInterval service.monitoring, config.plugins.shadowsocks.monitor_cycle
|