diff options
| author | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-30 23:51:14 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-30 23:51:14 +0300 |
| commit | 8170b65db4d38002f81825ea876dd3e4c9292931 (patch) | |
| tree | 06e20a3835bf953f17cc50aafd48d367574e5357 /web/controller | |
| parent | a2d8c98b0df39216787d2c77af6e499857510e9e (diff) | |
add an option for webDomain
Diffstat (limited to 'web/controller')
| -rw-r--r-- | web/controller/inbound.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/controller/inbound.go b/web/controller/inbound.go index 5ce58d53..815f1788 100644 --- a/web/controller/inbound.go +++ b/web/controller/inbound.go @@ -65,6 +65,7 @@ func (a *InboundController) getInbounds(c *gin.Context) { } jsonObj(c, inbounds, nil) } + func (a *InboundController) getInbound(c *gin.Context) { id, err := strconv.Atoi(c.Param("id")) if err != nil { @@ -168,6 +169,7 @@ func (a *InboundController) clearClientIps(c *gin.Context) { } jsonMsg(c, "Log Cleared", nil) } + func (a *InboundController) addInboundClient(c *gin.Context) { data := &model.Inbound{} err := c.ShouldBind(data) |
