diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-07-23 12:28:28 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-07-23 12:28:28 +0300 |
| commit | c7906e85980c45fd3f37d11b80e14a1075d94d4f (patch) | |
| tree | b9c20633175fc4592d8695553d78d8f18bf49d72 /web/controller/api.go | |
| parent | e1bc43da5f1f06ea00bd28923b37b5d029522359 (diff) | |
API - Get client's traffic By ID
Co-Authored-By: Hassan Ali Gilani <mr.ajaxian@gmail.com>
Diffstat (limited to 'web/controller/api.go')
| -rw-r--r-- | web/controller/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/controller/api.go b/web/controller/api.go index 6281097b..9944e2a3 100644 --- a/web/controller/api.go +++ b/web/controller/api.go @@ -33,6 +33,7 @@ func (a *APIController) initRouter(g *gin.RouterGroup) { {"GET", "/list", a.inboundController.getInbounds}, {"GET", "/get/:id", a.inboundController.getInbound}, {"GET", "/getClientTraffics/:email", a.inboundController.getClientTraffics}, + {"GET", "/getClientTrafficsById/:id", a.inboundController.getClientTrafficsById}, {"POST", "/add", a.inboundController.addInbound}, {"POST", "/del/:id", a.inboundController.delInbound}, {"POST", "/update/:id", a.inboundController.updateInbound}, |
