Documentation ¶
Overview ¶
templ: version: v0.2.778
Index ¶
Constants ¶
View Source
const ( HeaderHXRequest = "HX-Request" HeaderTemplSkipModify = "templ-skip-modify" // PathProxyEvents defines the path for templier proxy websocket events endpoint. // This path is very unlikely to collide with any path used by the app server. PathProxyEvents = "/_templiér/events" ReverseProxyRetries = 20 ReverseProxyInitialDelay = 100 * time.Millisecond ReverseProxyBackoffExponent = 1.5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func New ¶
func New( httpClient *http.Client, stateTracker *statetrack.Tracker, reload *broadcaster.SignalBroadcaster, config *config.Config, ) *Server
Click to show internal directories.
Click to hide internal directories.