1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add shadowsocks-Rust luci interface

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-09-29 21:33:48 +02:00
parent d07ccb47ff
commit a049f0f415
38 changed files with 10479 additions and 0 deletions

View file

@ -0,0 +1,22 @@
-- Copyright 2017 Yousong Zhou <yszhou4tech@gmail.com>
-- Licensed to the public under the Apache License 2.0.
--
module("luci.controller.shadowsocks-rust", package.seeall)
function index()
entry({"admin", "services", "shadowsocks-rust"},
alias("admin", "services", "shadowsocks-rust", "instances"),
_("Shadowsocks-rust"), 59)
entry({"admin", "services", "shadowsocks-rust", "instances"},
view("shadowsocks-rust/instances"),
_("Local Instances"), 10).leaf = true
entry({"admin", "services", "shadowsocks-rust", "servers"},
view("shadowsocks-rust/servers"),
_("Remote Servers"), 20).leaf = true
entry({"admin", "services", "shadowsocks-rust", "rules"},
view("shadowsocks-rust/rules"),
_("Redir Rules"), 30).leaf = true
end