shadowsocks-libev.lua 756 B

12345678910111213141516171819202122
  1. -- Copyright 2017 Yousong Zhou <yszhou4tech@gmail.com>
  2. -- Licensed to the public under the Apache License 2.0.
  3. --
  4. module("luci.controller.shadowsocks-libev", package.seeall)
  5. function index()
  6. entry({"admin", "services", "shadowsocks-libev"},
  7. alias("admin", "services", "shadowsocks-libev", "instances"),
  8. _("Shadowsocks-libev"), 59)
  9. entry({"admin", "services", "shadowsocks-libev", "instances"},
  10. view("shadowsocks-libev/instances"),
  11. _("Local Instances"), 10).leaf = true
  12. entry({"admin", "services", "shadowsocks-libev", "servers"},
  13. view("shadowsocks-libev/servers"),
  14. _("Remote Servers"), 20).leaf = true
  15. entry({"admin", "services", "shadowsocks-libev", "rules"},
  16. view("shadowsocks-libev/rules"),
  17. _("Redir Rules"), 30).leaf = true
  18. end