From 6fe2e7287f157c67b9365dc5f9211b96d337eb91 Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Sat, 14 Sep 2024 16:01:18 +0200 Subject: [PATCH] Update the func name to Output Signed-off-by: Alfred Kamanda --- internal/http/at_session_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/http/at_session_handler.go b/internal/http/at_session_handler.go index a8682cb..4a0cafa 100644 --- a/internal/http/at_session_handler.go +++ b/internal/http/at_session_handler.go @@ -60,7 +60,7 @@ func (ash *ATSessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) w.WriteHeader(200) w.Header().Set("Content-Type", "text/plain") - rqs, err = ash.ATOutput(rqs) + rqs, err = ash.Output(rqs) if err != nil { ash.writeError(w, 500, err) return @@ -73,7 +73,7 @@ func (ash *ATSessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) } } -func (ash *ATSessionHandler) ATOutput(rqs handlers.RequestSession) (handlers.RequestSession, error) { +func (ash *ATSessionHandler) Output(rqs handlers.RequestSession) (handlers.RequestSession, error) { var err error var prefix string