Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler( title, description string, oobe bool, metadata any, statusCode int, ) http.HandlerFunc
Handler is used make a handler to serve an HTTP response to an existing connection.
Types ¶
type Fragment ¶
type Fragment struct {
// contains filtered or unexported fields
}
Fragment defines a thread safe fragment of HTML.
func NewBodyFragment ¶
NewBodyFragment is used to make a new thread safe HTML body element that can be get/set. This will update what is in the additional part of the head.
func NewHeadFragment ¶
NewHeadFragment is used to make a new thread safe HTML head element that can be get/set. This will update what is in the additional part of the head.
Click to show internal directories.
Click to hide internal directories.