Update the func name to Output
Signed-off-by: Alfred Kamanda <alfredkamandamw@gmail.com>
This commit is contained in:
parent
1e9c9cf6ad
commit
6fe2e7287f
@ -60,7 +60,7 @@ func (ash *ATSessionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request)
|
|||||||
|
|
||||||
w.WriteHeader(200)
|
w.WriteHeader(200)
|
||||||
w.Header().Set("Content-Type", "text/plain")
|
w.Header().Set("Content-Type", "text/plain")
|
||||||
rqs, err = ash.ATOutput(rqs)
|
rqs, err = ash.Output(rqs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ash.writeError(w, 500, err)
|
ash.writeError(w, 500, err)
|
||||||
return
|
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 err error
|
||||||
var prefix string
|
var prefix string
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user