Documentation ¶
Index ¶
- Constants
- func CleanBody(body string) string
- func MustHeaders(next http.Handler) http.Handler
- func RenderTemplate(w http.ResponseWriter, t templ.Component, l *Logger)
- func SendRequest(u string) (*http.Response, error)
- func TrimText(text string, keep int) string
- func TrimURL(u string) string
- type Logger
Constants ¶
View Source
const UA = "Mozilla/5.0 (Windows NT 10.0; rv:123.0) Gecko/20100101 Firefox/123.0"
Variables ¶
This section is empty.
Functions ¶
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, t templ.Component, l *Logger)
Types ¶
Click to show internal directories.
Click to hide internal directories.