1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 19:11:51 +00:00
openmptcprouter-feeds/luci-app-shadowsocks-rust/luasrc/controller/shadowsocks-rust.lua

23 lines
746 B
Lua
Raw Normal View History

2023-09-29 19:33:48 +00:00
-- 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