Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceBodyContents ¶
ReplaceHeadContents allows to replace the contents of the <body> tag in an HTTP response. The repl function is called with the contents of the <body> tag and should return the new contents.
On error, the response body is unchanged and the caller may proceed as if the function had not been called.
func ReplaceHeadContents ¶
ReplaceHeadContents allows to replace the contents of the <head> tag in an HTTP response. The repl function is called with the contents of the <head> tag and should return the new contents.
On error, the response body is unchanged and the caller may proceed as if the function had not been called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.