mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-03 06:07:20 +02:00

- Added embeded resources server for plugin library - Added ztnc plugin for global area network - Added wide mode for side wrapper
20 lines
362 B
Go
20 lines
362 B
Go
package utils
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
/*
|
|
Web Template Generator
|
|
|
|
This is the main system core module that perform function similar to what PHP did.
|
|
To replace part of the content of any file, use {{paramter}} to replace it.
|
|
|
|
|
|
*/
|
|
|
|
func SendHTMLResponse(w http.ResponseWriter, msg string) {
|
|
w.Header().Set("Content-Type", "text/html")
|
|
w.Write([]byte(msg))
|
|
}
|