mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
22 lines
746 B
Lua
22 lines
746 B
Lua
-- 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
|