From 6ced549deaecb42b9bb93ea9efcb4c1bbaabe8a4 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Sat, 20 Sep 2025 09:35:50 +0200 Subject: docs: add comments for all functions --- web/service/outbound.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/service/outbound.go') diff --git a/web/service/outbound.go b/web/service/outbound.go index 94a8f0b3..530d12eb 100644 --- a/web/service/outbound.go +++ b/web/service/outbound.go @@ -9,6 +9,8 @@ import ( "gorm.io/gorm" ) +// OutboundService provides business logic for managing Xray outbound configurations. +// It handles outbound traffic monitoring and statistics. type OutboundService struct{} func (s *OutboundService) AddTraffic(traffics []*xray.Traffic, clientTraffics []*xray.ClientTraffic) (error, bool) { -- cgit v1.2.3