mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
feat: serve swagger ui
fix: forbid to browse file system index
This commit is contained in:
parent
8fc39f23fa
commit
bb1d6c048d
@ -1,52 +1,9 @@
|
||||
mode: set
|
||||
github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:19.43,22.2 2 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:24.41,26.18 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:29.2,29.16 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0
|
||||
github.com/muety/wakapi/models/interval.go:5.47,6.23 1 0
|
||||
github.com/muety/wakapi/models/interval.go:11.2,11.14 1 0
|
||||
github.com/muety/wakapi/models/interval.go:6.23,7.13 1 0
|
||||
github.com/muety/wakapi/models/interval.go:7.13,9.4 1 0
|
||||
github.com/muety/wakapi/models/models.go:3.14,5.2 0 1
|
||||
github.com/muety/wakapi/models/shared.go:34.52,37.16 3 0
|
||||
github.com/muety/wakapi/models/shared.go:40.2,42.12 3 0
|
||||
github.com/muety/wakapi/models/shared.go:37.16,39.3 1 0
|
||||
github.com/muety/wakapi/models/shared.go:46.52,52.22 2 0
|
||||
github.com/muety/wakapi/models/shared.go:68.2,71.12 3 0
|
||||
github.com/muety/wakapi/models/shared.go:53.14,55.17 2 0
|
||||
github.com/muety/wakapi/models/shared.go:58.13,60.8 2 0
|
||||
github.com/muety/wakapi/models/shared.go:61.17,63.8 2 0
|
||||
github.com/muety/wakapi/models/shared.go:64.10,65.64 1 0
|
||||
github.com/muety/wakapi/models/shared.go:55.17,57.4 1 0
|
||||
github.com/muety/wakapi/models/shared.go:74.45,76.2 1 0
|
||||
github.com/muety/wakapi/models/shared.go:78.51,81.2 2 0
|
||||
github.com/muety/wakapi/models/shared.go:83.37,86.2 2 0
|
||||
github.com/muety/wakapi/models/shared.go:88.35,90.2 1 0
|
||||
github.com/muety/wakapi/models/shared.go:92.34,94.2 1 0
|
||||
github.com/muety/wakapi/models/filters.go:16.56,17.16 1 0
|
||||
github.com/muety/wakapi/models/filters.go:29.2,29.19 1 0
|
||||
github.com/muety/wakapi/models/filters.go:18.22,19.32 1 0
|
||||
github.com/muety/wakapi/models/filters.go:20.17,21.27 1 0
|
||||
github.com/muety/wakapi/models/filters.go:22.23,23.33 1 0
|
||||
github.com/muety/wakapi/models/filters.go:24.21,25.31 1 0
|
||||
github.com/muety/wakapi/models/filters.go:26.22,27.32 1 0
|
||||
github.com/muety/wakapi/models/filters.go:32.47,33.21 1 1
|
||||
github.com/muety/wakapi/models/filters.go:44.2,44.21 1 1
|
||||
github.com/muety/wakapi/models/filters.go:33.21,35.3 1 1
|
||||
github.com/muety/wakapi/models/filters.go:35.8,35.23 1 1
|
||||
github.com/muety/wakapi/models/filters.go:35.23,37.3 1 0
|
||||
github.com/muety/wakapi/models/filters.go:37.8,37.29 1 1
|
||||
github.com/muety/wakapi/models/filters.go:37.29,39.3 1 1
|
||||
github.com/muety/wakapi/models/filters.go:39.8,39.27 1 1
|
||||
github.com/muety/wakapi/models/filters.go:39.27,41.3 1 0
|
||||
github.com/muety/wakapi/models/filters.go:41.8,41.28 1 1
|
||||
github.com/muety/wakapi/models/filters.go:41.28,43.3 1 0
|
||||
github.com/muety/wakapi/models/alias.go:12.32,14.2 1 0
|
||||
github.com/muety/wakapi/models/alias.go:16.37,17.35 1 0
|
||||
github.com/muety/wakapi/models/alias.go:22.2,22.14 1 0
|
||||
github.com/muety/wakapi/models/alias.go:17.35,18.18 1 0
|
||||
github.com/muety/wakapi/models/alias.go:18.18,20.4 1 0
|
||||
github.com/muety/wakapi/models/heartbeat.go:32.34,34.2 1 1
|
||||
github.com/muety/wakapi/models/heartbeat.go:36.65,37.28 1 1
|
||||
github.com/muety/wakapi/models/heartbeat.go:40.2,41.45 2 1
|
||||
@ -68,207 +25,110 @@ github.com/muety/wakapi/models/heartbeat.go:72.37,88.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeat.go:96.41,98.16 2 0
|
||||
github.com/muety/wakapi/models/heartbeat.go:101.2,102.10 2 0
|
||||
github.com/muety/wakapi/models/heartbeat.go:98.16,100.3 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:7.31,9.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:11.41,13.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:15.36,17.2 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:19.43,22.2 2 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:24.41,26.18 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:29.2,29.16 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:26.18,28.3 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:32.40,34.18 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:37.2,37.24 1 0
|
||||
github.com/muety/wakapi/models/heartbeats.go:34.18,36.3 1 0
|
||||
github.com/muety/wakapi/models/language_mapping.go:11.42,13.2 1 0
|
||||
github.com/muety/wakapi/models/language_mapping.go:15.51,17.2 1 0
|
||||
github.com/muety/wakapi/models/language_mapping.go:19.52,21.2 1 0
|
||||
github.com/muety/wakapi/models/summary.go:101.29,103.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:105.37,112.2 6 1
|
||||
github.com/muety/wakapi/models/summary.go:114.35,116.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:118.57,126.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:139.33,144.26 4 1
|
||||
github.com/muety/wakapi/models/summary.go:151.2,151.37 1 1
|
||||
github.com/muety/wakapi/models/summary.go:155.2,158.33 2 1
|
||||
github.com/muety/wakapi/models/summary.go:144.26,145.30 1 1
|
||||
github.com/muety/wakapi/models/summary.go:145.30,147.4 1 1
|
||||
github.com/muety/wakapi/models/summary.go:151.37,153.3 1 0
|
||||
github.com/muety/wakapi/models/summary.go:158.33,164.3 1 1
|
||||
github.com/muety/wakapi/models/summary.go:167.45,172.30 3 1
|
||||
github.com/muety/wakapi/models/summary.go:181.2,181.30 1 1
|
||||
github.com/muety/wakapi/models/summary.go:172.30,173.47 1 1
|
||||
github.com/muety/wakapi/models/summary.go:173.47,174.32 1 1
|
||||
github.com/muety/wakapi/models/summary.go:177.4,177.9 1 1
|
||||
github.com/muety/wakapi/models/summary.go:174.32,176.5 1 1
|
||||
github.com/muety/wakapi/models/summary.go:184.73,186.55 2 1
|
||||
github.com/muety/wakapi/models/summary.go:191.2,191.16 1 1
|
||||
github.com/muety/wakapi/models/summary.go:186.55,187.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:187.31,189.4 1 1
|
||||
github.com/muety/wakapi/models/summary.go:194.88,196.55 2 1
|
||||
github.com/muety/wakapi/models/summary.go:204.2,204.16 1 1
|
||||
github.com/muety/wakapi/models/summary.go:196.55,197.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:197.31,198.23 1 1
|
||||
github.com/muety/wakapi/models/summary.go:201.4,201.46 1 1
|
||||
github.com/muety/wakapi/models/summary.go:198.23,199.13 1 1
|
||||
github.com/muety/wakapi/models/summary.go:207.70,209.8 2 1
|
||||
github.com/muety/wakapi/models/summary.go:212.2,212.10 1 1
|
||||
github.com/muety/wakapi/models/summary.go:209.8,211.3 1 1
|
||||
github.com/muety/wakapi/models/summary.go:215.71,216.63 1 1
|
||||
github.com/muety/wakapi/models/summary.go:256.2,262.10 6 1
|
||||
github.com/muety/wakapi/models/summary.go:216.63,219.45 2 1
|
||||
github.com/muety/wakapi/models/summary.go:228.3,228.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:235.3,235.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:252.3,252.16 1 1
|
||||
github.com/muety/wakapi/models/summary.go:219.45,220.32 1 1
|
||||
github.com/muety/wakapi/models/summary.go:225.4,225.14 1 1
|
||||
github.com/muety/wakapi/models/summary.go:220.32,221.24 1 1
|
||||
github.com/muety/wakapi/models/summary.go:221.24,223.6 1 1
|
||||
github.com/muety/wakapi/models/summary.go:228.31,230.60 1 1
|
||||
github.com/muety/wakapi/models/summary.go:230.60,232.5 1 1
|
||||
github.com/muety/wakapi/models/summary.go:235.31,237.60 1 1
|
||||
github.com/muety/wakapi/models/summary.go:237.60,238.55 1 1
|
||||
github.com/muety/wakapi/models/summary.go:238.55,240.6 1 1
|
||||
github.com/muety/wakapi/models/summary.go:240.11,248.6 1 1
|
||||
github.com/muety/wakapi/models/summary.go:265.33,267.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:269.43,271.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:273.38,275.2 1 1
|
||||
github.com/muety/wakapi/models/models.go:3.14,5.2 0 1
|
||||
github.com/muety/wakapi/models/shared.go:34.52,37.16 3 0
|
||||
github.com/muety/wakapi/models/shared.go:40.2,42.12 3 0
|
||||
github.com/muety/wakapi/models/shared.go:37.16,39.3 1 0
|
||||
github.com/muety/wakapi/models/shared.go:46.52,52.22 2 0
|
||||
github.com/muety/wakapi/models/shared.go:68.2,71.12 3 0
|
||||
github.com/muety/wakapi/models/shared.go:53.14,55.17 2 0
|
||||
github.com/muety/wakapi/models/shared.go:58.13,60.8 2 0
|
||||
github.com/muety/wakapi/models/shared.go:61.17,63.8 2 0
|
||||
github.com/muety/wakapi/models/shared.go:64.10,65.64 1 0
|
||||
github.com/muety/wakapi/models/shared.go:55.17,57.4 1 0
|
||||
github.com/muety/wakapi/models/shared.go:74.45,76.2 1 0
|
||||
github.com/muety/wakapi/models/shared.go:78.51,81.2 2 0
|
||||
github.com/muety/wakapi/models/shared.go:83.37,86.2 2 0
|
||||
github.com/muety/wakapi/models/shared.go:88.35,90.2 1 0
|
||||
github.com/muety/wakapi/models/shared.go:92.34,94.2 1 0
|
||||
github.com/muety/wakapi/models/summary.go:67.29,69.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:71.37,78.2 6 1
|
||||
github.com/muety/wakapi/models/summary.go:80.35,82.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:84.57,92.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:105.33,110.26 4 1
|
||||
github.com/muety/wakapi/models/summary.go:117.2,117.37 1 1
|
||||
github.com/muety/wakapi/models/summary.go:121.2,124.33 2 1
|
||||
github.com/muety/wakapi/models/summary.go:110.26,111.30 1 1
|
||||
github.com/muety/wakapi/models/summary.go:111.30,113.4 1 1
|
||||
github.com/muety/wakapi/models/summary.go:117.37,119.3 1 0
|
||||
github.com/muety/wakapi/models/summary.go:124.33,130.3 1 1
|
||||
github.com/muety/wakapi/models/summary.go:133.45,138.30 3 1
|
||||
github.com/muety/wakapi/models/summary.go:147.2,147.30 1 1
|
||||
github.com/muety/wakapi/models/summary.go:138.30,139.47 1 1
|
||||
github.com/muety/wakapi/models/summary.go:139.47,140.32 1 1
|
||||
github.com/muety/wakapi/models/summary.go:143.4,143.9 1 1
|
||||
github.com/muety/wakapi/models/summary.go:140.32,142.5 1 1
|
||||
github.com/muety/wakapi/models/summary.go:150.73,152.55 2 1
|
||||
github.com/muety/wakapi/models/summary.go:157.2,157.16 1 1
|
||||
github.com/muety/wakapi/models/summary.go:152.55,153.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:153.31,155.4 1 1
|
||||
github.com/muety/wakapi/models/summary.go:160.88,162.55 2 1
|
||||
github.com/muety/wakapi/models/summary.go:170.2,170.16 1 1
|
||||
github.com/muety/wakapi/models/summary.go:162.55,163.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:163.31,164.23 1 1
|
||||
github.com/muety/wakapi/models/summary.go:167.4,167.46 1 1
|
||||
github.com/muety/wakapi/models/summary.go:164.23,165.13 1 1
|
||||
github.com/muety/wakapi/models/summary.go:173.70,175.8 2 1
|
||||
github.com/muety/wakapi/models/summary.go:178.2,178.10 1 1
|
||||
github.com/muety/wakapi/models/summary.go:175.8,177.3 1 1
|
||||
github.com/muety/wakapi/models/summary.go:181.71,182.63 1 1
|
||||
github.com/muety/wakapi/models/summary.go:222.2,228.10 6 1
|
||||
github.com/muety/wakapi/models/summary.go:182.63,185.45 2 1
|
||||
github.com/muety/wakapi/models/summary.go:194.3,194.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:201.3,201.31 1 1
|
||||
github.com/muety/wakapi/models/summary.go:218.3,218.16 1 1
|
||||
github.com/muety/wakapi/models/summary.go:185.45,186.32 1 1
|
||||
github.com/muety/wakapi/models/summary.go:191.4,191.14 1 1
|
||||
github.com/muety/wakapi/models/summary.go:186.32,187.24 1 1
|
||||
github.com/muety/wakapi/models/summary.go:187.24,189.6 1 1
|
||||
github.com/muety/wakapi/models/summary.go:194.31,196.60 1 1
|
||||
github.com/muety/wakapi/models/summary.go:196.60,198.5 1 1
|
||||
github.com/muety/wakapi/models/summary.go:201.31,203.60 1 1
|
||||
github.com/muety/wakapi/models/summary.go:203.60,204.55 1 1
|
||||
github.com/muety/wakapi/models/summary.go:204.55,206.6 1 1
|
||||
github.com/muety/wakapi/models/summary.go:206.11,214.6 1 1
|
||||
github.com/muety/wakapi/models/summary.go:231.33,233.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:235.43,237.2 1 1
|
||||
github.com/muety/wakapi/models/summary.go:239.38,241.2 1 1
|
||||
github.com/muety/wakapi/models/filters.go:16.56,17.16 1 0
|
||||
github.com/muety/wakapi/models/filters.go:29.2,29.19 1 0
|
||||
github.com/muety/wakapi/models/filters.go:18.22,19.32 1 0
|
||||
github.com/muety/wakapi/models/filters.go:20.17,21.27 1 0
|
||||
github.com/muety/wakapi/models/filters.go:22.23,23.33 1 0
|
||||
github.com/muety/wakapi/models/filters.go:24.21,25.31 1 0
|
||||
github.com/muety/wakapi/models/filters.go:26.22,27.32 1 0
|
||||
github.com/muety/wakapi/models/filters.go:32.47,33.21 1 1
|
||||
github.com/muety/wakapi/models/filters.go:44.2,44.21 1 1
|
||||
github.com/muety/wakapi/models/filters.go:33.21,35.3 1 1
|
||||
github.com/muety/wakapi/models/filters.go:35.8,35.23 1 1
|
||||
github.com/muety/wakapi/models/filters.go:35.23,37.3 1 0
|
||||
github.com/muety/wakapi/models/filters.go:37.8,37.29 1 1
|
||||
github.com/muety/wakapi/models/filters.go:37.29,39.3 1 1
|
||||
github.com/muety/wakapi/models/filters.go:39.8,39.27 1 1
|
||||
github.com/muety/wakapi/models/filters.go:39.27,41.3 1 0
|
||||
github.com/muety/wakapi/models/filters.go:41.8,41.28 1 1
|
||||
github.com/muety/wakapi/models/filters.go:41.28,43.3 1 0
|
||||
github.com/muety/wakapi/models/interval.go:39.47,40.23 1 0
|
||||
github.com/muety/wakapi/models/interval.go:45.2,45.14 1 0
|
||||
github.com/muety/wakapi/models/interval.go:40.23,41.13 1 0
|
||||
github.com/muety/wakapi/models/interval.go:41.13,43.4 1 0
|
||||
github.com/muety/wakapi/models/user.go:40.43,43.2 1 0
|
||||
github.com/muety/wakapi/models/user.go:45.33,49.2 1 0
|
||||
github.com/muety/wakapi/models/user.go:51.45,53.2 1 0
|
||||
github.com/muety/wakapi/models/user.go:55.45,57.2 1 0
|
||||
github.com/muety/wakapi/models/alias.go:12.32,14.2 1 0
|
||||
github.com/muety/wakapi/models/alias.go:16.37,17.35 1 0
|
||||
github.com/muety/wakapi/models/alias.go:22.2,22.14 1 0
|
||||
github.com/muety/wakapi/models/alias.go:17.35,18.18 1 0
|
||||
github.com/muety/wakapi/models/alias.go:18.18,20.4 1 0
|
||||
github.com/muety/wakapi/utils/template.go:8.41,10.16 2 0
|
||||
github.com/muety/wakapi/utils/template.go:13.2,13.23 1 0
|
||||
github.com/muety/wakapi/utils/template.go:10.16,12.3 1 0
|
||||
github.com/muety/wakapi/utils/template.go:16.37,17.30 1 0
|
||||
github.com/muety/wakapi/utils/template.go:20.2,20.10 1 0
|
||||
github.com/muety/wakapi/utils/template.go:17.30,19.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:37.65,39.54 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:39.54,41.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0
|
||||
github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0
|
||||
github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0
|
||||
github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0
|
||||
github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0
|
||||
github.com/muety/wakapi/utils/common.go:9.48,11.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:13.40,15.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:17.45,19.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:21.24,23.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:25.56,28.45 3 1
|
||||
github.com/muety/wakapi/utils/common.go:31.2,31.40 1 1
|
||||
github.com/muety/wakapi/utils/common.go:28.45,30.3 1 1
|
||||
github.com/muety/wakapi/utils/date.go:8.31,10.2 1 0
|
||||
github.com/muety/wakapi/utils/date.go:12.43,14.2 1 0
|
||||
github.com/muety/wakapi/utils/date.go:16.30,20.2 3 0
|
||||
github.com/muety/wakapi/utils/date.go:22.31,25.2 2 0
|
||||
github.com/muety/wakapi/utils/date.go:27.30,30.2 2 0
|
||||
github.com/muety/wakapi/utils/date.go:32.67,35.33 2 0
|
||||
github.com/muety/wakapi/utils/date.go:44.2,44.18 1 0
|
||||
github.com/muety/wakapi/utils/date.go:35.33,37.19 2 0
|
||||
github.com/muety/wakapi/utils/date.go:40.3,41.10 2 0
|
||||
github.com/muety/wakapi/utils/date.go:37.19,39.4 1 0
|
||||
github.com/muety/wakapi/utils/date.go:47.50,53.2 5 0
|
||||
github.com/muety/wakapi/utils/date.go:56.79,59.36 3 0
|
||||
github.com/muety/wakapi/utils/date.go:63.2,63.21 1 0
|
||||
github.com/muety/wakapi/utils/date.go:67.2,67.21 1 0
|
||||
github.com/muety/wakapi/utils/date.go:71.2,71.13 1 0
|
||||
github.com/muety/wakapi/utils/date.go:59.36,62.3 2 0
|
||||
github.com/muety/wakapi/utils/date.go:63.21,66.3 2 0
|
||||
github.com/muety/wakapi/utils/date.go:67.21,70.3 2 0
|
||||
github.com/muety/wakapi/utils/http.go:9.73,12.58 3 0
|
||||
github.com/muety/wakapi/utils/http.go:12.58,14.3 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:12.77,13.29 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:18.2,18.19 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:13.29,14.18 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:14.18,16.4 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:12.27,14.4 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:19.74,21.16 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:24.2,24.32 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:21.16,23.3 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:27.84,30.18 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:65.2,65.22 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:31.28,32.24 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:33.32,35.22 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:36.31,37.23 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:38.31,40.21 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:41.32,42.24 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:43.32,45.22 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:46.31,47.23 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:48.32,49.42 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:50.41,52.40 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:53.33,54.43 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:55.33,56.43 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:57.35,58.43 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:59.26,60.21 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:61.10,62.39 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:68.73,75.56 5 0
|
||||
github.com/muety/wakapi/utils/summary.go:89.2,96.8 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:75.56,77.3 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:77.8,79.17 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:83.3,84.17 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:79.17,81.4 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:84.17,86.4 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:20.91,26.2 1 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:28.90,31.2 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:33.71,34.71 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:34.71,36.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:39.107,43.16 3 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:47.2,47.31 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:62.2,63.29 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:43.16,45.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:47.31,48.31 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:53.3,53.44 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:59.3,59.9 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:48.31,51.4 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:53.44,55.4 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:55.9,58.4 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:66.70,67.39 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:72.2,72.14 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:67.39,68.60 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:68.60,70.4 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:75.92,77.16 2 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:81.2,84.16 4 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:87.2,87.18 1 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:77.16,79.3 1 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:84.16,86.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:90.92,92.16 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:96.2,97.16 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:104.2,104.18 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:92.16,94.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:97.16,99.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:17.79,18.43 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:18.43,23.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:26.80,44.2 6 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:46.41,48.14 2 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:51.2,51.14 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:54.2,54.11 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:48.14,50.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:51.14,53.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:85.52,87.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:99.45,100.20 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:100.20,104.3 3 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:106.54,109.18 3 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:116.2,117.15 2 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:109.18,112.17 2 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:112.17,114.4 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:119.42,120.20 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:120.20,122.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:124.36,126.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:127.42,129.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:130.40,132.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:133.52,135.2 1 0
|
||||
github.com/muety/wakapi/config/config.go:95.70,97.2 1 0
|
||||
github.com/muety/wakapi/config/config.go:99.65,101.2 1 0
|
||||
github.com/muety/wakapi/config/config.go:103.82,113.2 1 0
|
||||
@ -333,25 +193,175 @@ github.com/muety/wakapi/config/utils.go:13.2,13.11 1 0
|
||||
github.com/muety/wakapi/config/utils.go:7.22,8.18 1 0
|
||||
github.com/muety/wakapi/config/utils.go:11.3,11.12 1 0
|
||||
github.com/muety/wakapi/config/utils.go:8.18,10.4 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:18.118,24.2 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:26.86,28.2 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:30.96,31.53 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:35.2,36.16 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:39.2,40.22 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:31.53,33.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:36.16,38.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:43.92,46.16 3 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:50.2,50.33 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:53.2,53.22 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:46.16,48.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:50.33,52.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:56.109,58.16 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:62.2,63.20 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:58.16,60.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:66.82,67.26 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:70.2,72.12 3 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:67.26,69.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:75.74,78.2 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:16.79,18.54 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:22.2,24.16 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:28.2,30.45 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:33.2,34.32 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:18.54,20.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:24.16,26.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:30.45,32.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:37.65,39.54 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:43.2,44.30 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:39.54,41.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:47.94,49.16 2 0
|
||||
github.com/muety/wakapi/utils/auth.go:53.2,53.107 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:57.2,57.22 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:49.16,51.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:53.107,55.3 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:60.56,64.2 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:66.55,69.16 3 0
|
||||
github.com/muety/wakapi/utils/auth.go:72.2,72.16 1 0
|
||||
github.com/muety/wakapi/utils/auth.go:69.16,71.3 1 0
|
||||
github.com/muety/wakapi/utils/date.go:8.31,10.2 1 0
|
||||
github.com/muety/wakapi/utils/date.go:12.43,14.2 1 0
|
||||
github.com/muety/wakapi/utils/date.go:16.30,20.2 3 0
|
||||
github.com/muety/wakapi/utils/date.go:22.31,25.2 2 0
|
||||
github.com/muety/wakapi/utils/date.go:27.30,30.2 2 0
|
||||
github.com/muety/wakapi/utils/date.go:32.67,35.33 2 0
|
||||
github.com/muety/wakapi/utils/date.go:44.2,44.18 1 0
|
||||
github.com/muety/wakapi/utils/date.go:35.33,37.19 2 0
|
||||
github.com/muety/wakapi/utils/date.go:40.3,41.10 2 0
|
||||
github.com/muety/wakapi/utils/date.go:37.19,39.4 1 0
|
||||
github.com/muety/wakapi/utils/date.go:47.50,53.2 5 0
|
||||
github.com/muety/wakapi/utils/date.go:56.79,59.36 3 0
|
||||
github.com/muety/wakapi/utils/date.go:63.2,63.21 1 0
|
||||
github.com/muety/wakapi/utils/date.go:67.2,67.21 1 0
|
||||
github.com/muety/wakapi/utils/date.go:71.2,71.13 1 0
|
||||
github.com/muety/wakapi/utils/date.go:59.36,62.3 2 0
|
||||
github.com/muety/wakapi/utils/date.go:63.21,66.3 2 0
|
||||
github.com/muety/wakapi/utils/date.go:67.21,70.3 2 0
|
||||
github.com/muety/wakapi/utils/strings.go:8.34,10.2 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:12.77,13.29 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:18.2,18.19 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:13.29,14.18 1 0
|
||||
github.com/muety/wakapi/utils/strings.go:14.18,16.4 1 0
|
||||
github.com/muety/wakapi/utils/template.go:8.41,10.16 2 0
|
||||
github.com/muety/wakapi/utils/template.go:13.2,13.23 1 0
|
||||
github.com/muety/wakapi/utils/template.go:10.16,12.3 1 0
|
||||
github.com/muety/wakapi/utils/template.go:16.37,17.30 1 0
|
||||
github.com/muety/wakapi/utils/template.go:20.2,20.10 1 0
|
||||
github.com/muety/wakapi/utils/template.go:17.30,19.3 1 0
|
||||
github.com/muety/wakapi/utils/color.go:8.90,10.32 2 0
|
||||
github.com/muety/wakapi/utils/color.go:15.2,15.15 1 0
|
||||
github.com/muety/wakapi/utils/color.go:10.32,11.50 1 0
|
||||
github.com/muety/wakapi/utils/color.go:11.50,13.4 1 0
|
||||
github.com/muety/wakapi/utils/common.go:9.48,11.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:13.40,15.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:17.45,19.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:21.24,23.2 1 0
|
||||
github.com/muety/wakapi/utils/common.go:25.56,28.45 3 1
|
||||
github.com/muety/wakapi/utils/common.go:31.2,31.40 1 1
|
||||
github.com/muety/wakapi/utils/common.go:28.45,30.3 1 1
|
||||
github.com/muety/wakapi/utils/filesystem.go:14.68,16.16 2 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:20.2,21.15 2 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:33.2,33.15 1 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:16.16,18.3 1 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:21.15,23.47 2 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:23.47,25.23 2 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:29.4,29.19 1 0
|
||||
github.com/muety/wakapi/utils/filesystem.go:25.23,27.5 1 0
|
||||
github.com/muety/wakapi/utils/http.go:9.73,12.58 3 0
|
||||
github.com/muety/wakapi/utils/http.go:12.58,14.3 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:10.66,11.40 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:16.2,16.48 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:11.40,12.27 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:12.27,14.4 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:19.74,21.16 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:24.2,24.32 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:21.16,23.3 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:27.84,30.18 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:65.2,65.22 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:31.28,32.24 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:33.32,35.22 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:36.31,37.23 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:38.31,40.21 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:41.32,42.24 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:43.32,45.22 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:46.31,47.23 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:48.32,49.42 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:50.41,52.40 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:53.33,54.43 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:55.33,56.43 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:57.35,58.43 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:59.26,60.21 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:61.10,62.39 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:68.73,75.56 5 0
|
||||
github.com/muety/wakapi/utils/summary.go:89.2,96.8 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:75.56,77.3 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:77.8,79.17 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:83.3,84.17 2 0
|
||||
github.com/muety/wakapi/utils/summary.go:79.17,81.4 1 0
|
||||
github.com/muety/wakapi/utils/summary.go:84.17,86.4 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:20.91,26.2 1 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:28.90,31.2 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:33.71,34.71 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:34.71,36.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:39.107,43.16 3 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:47.2,47.31 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:62.2,63.29 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:43.16,45.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:47.31,48.31 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:53.3,53.44 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:59.3,59.9 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:48.31,51.4 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:53.44,55.4 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:55.9,58.4 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:66.70,67.39 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:72.2,72.14 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:67.39,68.60 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:68.60,70.4 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:75.92,77.16 2 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:81.2,84.16 4 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:87.2,87.18 1 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:77.16,79.3 1 1
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:84.16,86.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:90.92,92.16 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:96.2,97.16 2 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:104.2,104.18 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:92.16,94.3 1 0
|
||||
github.com/muety/wakapi/middlewares/authenticate.go:97.16,99.3 1 0
|
||||
github.com/muety/wakapi/middlewares/filetype.go:13.83,14.43 1 0
|
||||
github.com/muety/wakapi/middlewares/filetype.go:14.43,19.3 1 0
|
||||
github.com/muety/wakapi/middlewares/filetype.go:22.84,24.34 2 0
|
||||
github.com/muety/wakapi/middlewares/filetype.go:31.2,31.27 1 0
|
||||
github.com/muety/wakapi/middlewares/filetype.go:24.34,25.50 1 0
|
||||
github.com/muety/wakapi/middlewares/filetype.go:25.50,29.4 3 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:17.79,18.43 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:18.43,23.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:26.80,44.2 6 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:46.41,48.14 2 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:51.2,51.14 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:54.2,54.11 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:48.14,50.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:51.14,53.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:85.52,87.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:99.45,100.20 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:100.20,104.3 3 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:106.54,109.18 3 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:116.2,117.15 2 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:109.18,112.17 2 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:112.17,114.4 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:119.42,120.20 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:120.20,122.3 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:124.36,126.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:127.42,129.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:130.40,132.2 1 0
|
||||
github.com/muety/wakapi/middlewares/logging.go:133.52,135.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:17.141,23.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:25.72,27.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:29.80,31.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:33.76,35.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:37.111,39.16 2 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:42.2,42.43 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:39.16,41.3 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:45.116,47.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:49.78,51.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:53.62,55.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:57.116,59.16 2 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:63.2,63.28 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:67.2,67.24 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:59.16,61.3 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:63.28,65.3 1 0
|
||||
github.com/muety/wakapi/services/misc.go:23.126,30.2 1 0
|
||||
github.com/muety/wakapi/services/misc.go:42.50,44.48 1 0
|
||||
github.com/muety/wakapi/services/misc.go:48.2,50.19 3 0
|
||||
@ -375,6 +385,31 @@ github.com/muety/wakapi/services/misc.go:113.2,116.17 1 0
|
||||
github.com/muety/wakapi/services/misc.go:101.30,104.3 2 0
|
||||
github.com/muety/wakapi/services/misc.go:109.17,111.3 1 0
|
||||
github.com/muety/wakapi/services/misc.go:116.17,118.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:19.73,25.2 1 0
|
||||
github.com/muety/wakapi/services/user.go:27.74,28.40 1 0
|
||||
github.com/muety/wakapi/services/user.go:32.2,33.16 2 0
|
||||
github.com/muety/wakapi/services/user.go:37.2,38.15 2 0
|
||||
github.com/muety/wakapi/services/user.go:28.40,30.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:33.16,35.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:41.72,42.37 1 0
|
||||
github.com/muety/wakapi/services/user.go:46.2,47.16 2 0
|
||||
github.com/muety/wakapi/services/user.go:51.2,52.15 2 0
|
||||
github.com/muety/wakapi/services/user.go:42.37,44.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:47.16,49.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:55.58,57.2 1 0
|
||||
github.com/muety/wakapi/services/user.go:59.88,66.93 2 0
|
||||
github.com/muety/wakapi/services/user.go:72.2,72.38 1 0
|
||||
github.com/muety/wakapi/services/user.go:66.93,68.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:68.8,70.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:75.73,78.2 2 0
|
||||
github.com/muety/wakapi/services/user.go:80.78,84.2 3 0
|
||||
github.com/muety/wakapi/services/user.go:86.99,89.2 2 0
|
||||
github.com/muety/wakapi/services/user.go:91.106,94.96 3 0
|
||||
github.com/muety/wakapi/services/user.go:99.2,99.68 1 0
|
||||
github.com/muety/wakapi/services/user.go:94.96,96.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:96.8,98.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:102.57,105.2 2 0
|
||||
github.com/muety/wakapi/services/user.go:107.38,109.2 1 0
|
||||
github.com/muety/wakapi/services/aggregation.go:24.142,31.2 1 0
|
||||
github.com/muety/wakapi/services/aggregation.go:40.43,42.37 1 0
|
||||
github.com/muety/wakapi/services/aggregation.go:46.2,48.19 3 0
|
||||
@ -415,21 +450,67 @@ github.com/muety/wakapi/services/aggregation.go:136.62,140.4 1 0
|
||||
github.com/muety/wakapi/services/aggregation.go:148.83,163.41 5 0
|
||||
github.com/muety/wakapi/services/aggregation.go:163.41,173.3 3 0
|
||||
github.com/muety/wakapi/services/aggregation.go:176.34,179.2 2 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:17.141,23.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:25.72,27.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:29.80,31.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:33.76,35.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:37.111,39.16 2 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:42.2,42.43 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:39.16,41.3 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:45.116,47.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:49.78,51.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:53.62,55.2 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:57.116,59.16 2 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:63.2,63.28 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:67.2,67.24 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:59.16,61.3 1 0
|
||||
github.com/muety/wakapi/services/heartbeat.go:63.28,65.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:17.77,22.2 1 1
|
||||
github.com/muety/wakapi/services/alias.go:26.60,27.43 1 1
|
||||
github.com/muety/wakapi/services/alias.go:30.2,30.14 1 1
|
||||
github.com/muety/wakapi/services/alias.go:27.43,29.3 1 1
|
||||
github.com/muety/wakapi/services/alias.go:33.62,35.16 2 1
|
||||
github.com/muety/wakapi/services/alias.go:38.2,38.12 1 1
|
||||
github.com/muety/wakapi/services/alias.go:35.16,37.3 1 1
|
||||
github.com/muety/wakapi/services/alias.go:41.76,43.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:46.2,46.21 1 0
|
||||
github.com/muety/wakapi/services/alias.go:43.16,45.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:49.113,51.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:54.2,54.21 1 0
|
||||
github.com/muety/wakapi/services/alias.go:51.16,53.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:57.108,58.32 1 1
|
||||
github.com/muety/wakapi/services/alias.go:64.2,65.46 2 1
|
||||
github.com/muety/wakapi/services/alias.go:70.2,70.19 1 1
|
||||
github.com/muety/wakapi/services/alias.go:58.32,59.52 1 1
|
||||
github.com/muety/wakapi/services/alias.go:59.52,61.4 1 1
|
||||
github.com/muety/wakapi/services/alias.go:65.46,66.48 1 1
|
||||
github.com/muety/wakapi/services/alias.go:66.48,68.4 1 1
|
||||
github.com/muety/wakapi/services/alias.go:73.77,75.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:78.2,79.20 2 0
|
||||
github.com/muety/wakapi/services/alias.go:75.16,77.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:82.60,83.24 1 0
|
||||
github.com/muety/wakapi/services/alias.go:86.2,88.12 3 0
|
||||
github.com/muety/wakapi/services/alias.go:83.24,85.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:91.69,94.28 3 0
|
||||
github.com/muety/wakapi/services/alias.go:102.2,104.31 2 0
|
||||
github.com/muety/wakapi/services/alias.go:108.2,108.12 1 0
|
||||
github.com/muety/wakapi/services/alias.go:94.28,95.21 1 0
|
||||
github.com/muety/wakapi/services/alias.go:98.3,99.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:95.21,97.4 1 0
|
||||
github.com/muety/wakapi/services/alias.go:104.31,106.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:111.52,112.51 1 0
|
||||
github.com/muety/wakapi/services/alias.go:112.51,114.3 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0
|
||||
github.com/muety/wakapi/services/key_value.go:33.2,33.11 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:27.16,32.3 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:36.72,38.2 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:40.60,42.2 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:18.118,24.2 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:26.86,28.2 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:30.96,31.53 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:35.2,36.16 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:39.2,40.22 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:31.53,33.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:36.16,38.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:43.92,46.16 3 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:50.2,50.33 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:53.2,53.22 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:46.16,48.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:50.33,52.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:56.109,58.16 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:62.2,63.20 2 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:58.16,60.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:66.82,67.26 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:70.2,72.12 3 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:67.26,69.3 1 0
|
||||
github.com/muety/wakapi/services/language_mapping.go:75.74,78.2 1 0
|
||||
github.com/muety/wakapi/services/summary.go:27.149,35.2 1 1
|
||||
github.com/muety/wakapi/services/summary.go:39.120,42.52 2 1
|
||||
github.com/muety/wakapi/services/summary.go:47.2,47.44 1 1
|
||||
@ -519,70 +600,3 @@ github.com/muety/wakapi/services/summary.go:324.54,326.3 1 1
|
||||
github.com/muety/wakapi/services/summary.go:331.59,333.25 2 1
|
||||
github.com/muety/wakapi/services/summary.go:336.2,336.32 1 1
|
||||
github.com/muety/wakapi/services/summary.go:333.25,335.3 1 1
|
||||
github.com/muety/wakapi/services/user.go:19.73,25.2 1 0
|
||||
github.com/muety/wakapi/services/user.go:27.74,28.40 1 0
|
||||
github.com/muety/wakapi/services/user.go:32.2,33.16 2 0
|
||||
github.com/muety/wakapi/services/user.go:37.2,38.15 2 0
|
||||
github.com/muety/wakapi/services/user.go:28.40,30.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:33.16,35.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:41.72,42.37 1 0
|
||||
github.com/muety/wakapi/services/user.go:46.2,47.16 2 0
|
||||
github.com/muety/wakapi/services/user.go:51.2,52.15 2 0
|
||||
github.com/muety/wakapi/services/user.go:42.37,44.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:47.16,49.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:55.58,57.2 1 0
|
||||
github.com/muety/wakapi/services/user.go:59.88,66.93 2 0
|
||||
github.com/muety/wakapi/services/user.go:72.2,72.38 1 0
|
||||
github.com/muety/wakapi/services/user.go:66.93,68.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:68.8,70.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:75.73,78.2 2 0
|
||||
github.com/muety/wakapi/services/user.go:80.78,84.2 3 0
|
||||
github.com/muety/wakapi/services/user.go:86.99,89.2 2 0
|
||||
github.com/muety/wakapi/services/user.go:91.106,94.96 3 0
|
||||
github.com/muety/wakapi/services/user.go:99.2,99.68 1 0
|
||||
github.com/muety/wakapi/services/user.go:94.96,96.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:96.8,98.3 1 0
|
||||
github.com/muety/wakapi/services/user.go:102.57,105.2 2 0
|
||||
github.com/muety/wakapi/services/user.go:107.38,109.2 1 0
|
||||
github.com/muety/wakapi/services/alias.go:17.77,22.2 1 1
|
||||
github.com/muety/wakapi/services/alias.go:26.60,27.43 1 1
|
||||
github.com/muety/wakapi/services/alias.go:30.2,30.14 1 1
|
||||
github.com/muety/wakapi/services/alias.go:27.43,29.3 1 1
|
||||
github.com/muety/wakapi/services/alias.go:33.62,35.16 2 1
|
||||
github.com/muety/wakapi/services/alias.go:38.2,38.12 1 1
|
||||
github.com/muety/wakapi/services/alias.go:35.16,37.3 1 1
|
||||
github.com/muety/wakapi/services/alias.go:41.76,43.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:46.2,46.21 1 0
|
||||
github.com/muety/wakapi/services/alias.go:43.16,45.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:49.113,51.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:54.2,54.21 1 0
|
||||
github.com/muety/wakapi/services/alias.go:51.16,53.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:57.108,58.32 1 1
|
||||
github.com/muety/wakapi/services/alias.go:64.2,65.46 2 1
|
||||
github.com/muety/wakapi/services/alias.go:70.2,70.19 1 1
|
||||
github.com/muety/wakapi/services/alias.go:58.32,59.52 1 1
|
||||
github.com/muety/wakapi/services/alias.go:59.52,61.4 1 1
|
||||
github.com/muety/wakapi/services/alias.go:65.46,66.48 1 1
|
||||
github.com/muety/wakapi/services/alias.go:66.48,68.4 1 1
|
||||
github.com/muety/wakapi/services/alias.go:73.77,75.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:78.2,79.20 2 0
|
||||
github.com/muety/wakapi/services/alias.go:75.16,77.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:82.60,83.24 1 0
|
||||
github.com/muety/wakapi/services/alias.go:86.2,88.12 3 0
|
||||
github.com/muety/wakapi/services/alias.go:83.24,85.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:91.69,94.28 3 0
|
||||
github.com/muety/wakapi/services/alias.go:102.2,104.31 2 0
|
||||
github.com/muety/wakapi/services/alias.go:108.2,108.12 1 0
|
||||
github.com/muety/wakapi/services/alias.go:94.28,95.21 1 0
|
||||
github.com/muety/wakapi/services/alias.go:98.3,99.16 2 0
|
||||
github.com/muety/wakapi/services/alias.go:95.21,97.4 1 0
|
||||
github.com/muety/wakapi/services/alias.go:104.31,106.3 1 0
|
||||
github.com/muety/wakapi/services/alias.go:111.52,112.51 1 0
|
||||
github.com/muety/wakapi/services/alias.go:112.51,114.3 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:14.89,19.2 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:21.83,23.2 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:25.78,27.16 2 0
|
||||
github.com/muety/wakapi/services/key_value.go:33.2,33.11 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:27.16,32.3 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:36.72,38.2 1 0
|
||||
github.com/muety/wakapi/services/key_value.go:40.60,42.2 1 0
|
||||
|
9
main.go
9
main.go
@ -10,6 +10,7 @@ import (
|
||||
"github.com/muety/wakapi/migrations"
|
||||
"github.com/muety/wakapi/repositories"
|
||||
"github.com/muety/wakapi/routes/api"
|
||||
"github.com/muety/wakapi/utils"
|
||||
"gorm.io/gorm/logger"
|
||||
"log"
|
||||
"net/http"
|
||||
@ -170,11 +171,9 @@ func main() {
|
||||
// Globally used middlewares
|
||||
recoveryMiddleware := handlers.RecoveryHandler()
|
||||
loggingMiddleware := middlewares.NewLoggingMiddleware(log.New(os.Stdout, "", log.LstdFlags))
|
||||
corsMiddleware := handlers.CORS()
|
||||
|
||||
// Router configs
|
||||
router.Use(loggingMiddleware, recoveryMiddleware)
|
||||
apiRouter.Use(corsMiddleware)
|
||||
|
||||
// Route registrations
|
||||
homeHandler.RegisterRoutes(rootRouter)
|
||||
@ -193,10 +192,12 @@ func main() {
|
||||
shieldV1BadgeHandler.RegisterRoutes(apiRouter)
|
||||
|
||||
// Static Routes
|
||||
fileServer := http.FileServer(pkger.Dir("/static"))
|
||||
fileServer := http.FileServer(utils.NeuteredFileSystem{Fs: pkger.Dir("/static")})
|
||||
router.PathPrefix("/assets").Handler(fileServer)
|
||||
router.PathPrefix("/swagger-ui").Handler(fileServer)
|
||||
router.PathPrefix("/docs").Handler(fileServer)
|
||||
router.PathPrefix("/docs").Handler(
|
||||
middlewares.NewFileTypeFilterMiddleware([]string{".go"})(fileServer),
|
||||
)
|
||||
|
||||
// Listen HTTP
|
||||
listen(router)
|
||||
|
32
middlewares/filetype.go
Normal file
32
middlewares/filetype.go
Normal file
@ -0,0 +1,32 @@
|
||||
package middlewares
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"strings"
|
||||
)
|
||||
|
||||
type SuffixFilterMiddleware struct {
|
||||
handler http.Handler
|
||||
filterTypes []string
|
||||
}
|
||||
|
||||
func NewFileTypeFilterMiddleware(filter []string) func(http.Handler) http.Handler {
|
||||
return func(h http.Handler) http.Handler {
|
||||
return &SuffixFilterMiddleware{
|
||||
handler: h,
|
||||
filterTypes: filter,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (f *SuffixFilterMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
path := strings.ToLower(r.URL.Path)
|
||||
for _, t := range f.filterTypes {
|
||||
if strings.HasSuffix(path, strings.ToLower(t)) {
|
||||
w.WriteHeader(http.StatusForbidden)
|
||||
w.Write([]byte("403 forbidden"))
|
||||
return
|
||||
}
|
||||
}
|
||||
f.handler.ServeHTTP(w, r)
|
||||
}
|
@ -1,5 +1,39 @@
|
||||
package models
|
||||
|
||||
// Support Wakapi and WakaTime range / interval identifiers
|
||||
// See https://wakatime.com/developers/#summaries
|
||||
var (
|
||||
IntervalToday = &IntervalKey{"today", "Today"}
|
||||
IntervalYesterday = &IntervalKey{"day", "yesterday", "Yesterday"}
|
||||
IntervalThisWeek = &IntervalKey{"week", "This Week"}
|
||||
IntervalLastWeek = &IntervalKey{"Last Week"}
|
||||
IntervalThisMonth = &IntervalKey{"month", "This Month"}
|
||||
IntervalLastMonth = &IntervalKey{"Last Month"}
|
||||
IntervalThisYear = &IntervalKey{"year"}
|
||||
IntervalPast7Days = &IntervalKey{"7_days", "last_7_days", "Last 7 Days"}
|
||||
IntervalPast7DaysYesterday = &IntervalKey{"Last 7 Days from Yesterday"}
|
||||
IntervalPast14Days = &IntervalKey{"Last 14 Days"}
|
||||
IntervalPast30Days = &IntervalKey{"30_days", "last_30_days", "Last 30 Days"}
|
||||
IntervalPast12Months = &IntervalKey{"12_months", "last_12_months"}
|
||||
IntervalAny = &IntervalKey{"any"}
|
||||
)
|
||||
|
||||
var AllIntervals = []*IntervalKey{
|
||||
IntervalToday,
|
||||
IntervalYesterday,
|
||||
IntervalThisWeek,
|
||||
IntervalLastWeek,
|
||||
IntervalThisMonth,
|
||||
IntervalLastMonth,
|
||||
IntervalThisYear,
|
||||
IntervalPast7Days,
|
||||
IntervalPast7DaysYesterday,
|
||||
IntervalPast14Days,
|
||||
IntervalPast30Days,
|
||||
IntervalPast12Months,
|
||||
IntervalAny,
|
||||
}
|
||||
|
||||
type IntervalKey []string
|
||||
|
||||
func (k *IntervalKey) HasAlias(s string) bool {
|
||||
|
34
utils/filesystem.go
Normal file
34
utils/filesystem.go
Normal file
@ -0,0 +1,34 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
// https://www.alexedwards.net/blog/disable-http-fileserver-directory-listings
|
||||
|
||||
type NeuteredFileSystem struct {
|
||||
Fs http.FileSystem
|
||||
}
|
||||
|
||||
func (nfs NeuteredFileSystem) Open(path string) (http.File, error) {
|
||||
f, err := nfs.Fs.Open(path)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
s, err := f.Stat()
|
||||
if s.IsDir() {
|
||||
index := filepath.Join(path, "index.html")
|
||||
if _, err := nfs.Fs.Open(index); err != nil {
|
||||
closeErr := f.Close()
|
||||
if closeErr != nil {
|
||||
return nil, closeErr
|
||||
}
|
||||
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
return f, nil
|
||||
}
|
Loading…
Reference in New Issue
Block a user