Skip to content

Commit

Permalink
docs: Caddy module description (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Feb 14, 2021
1 parent 0846bbe commit f0de6f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions caddy/caddy.go
Expand Up @@ -46,6 +46,7 @@ func (d *transportDestructor) Destruct() error {
return d.transport.Close()
}

// Mercure implements a Mercure hub as a Caddy module. Mercure is a protocol allowing to push data updates to web browsers and other HTTP clients in a convenient, fast, reliable and battery-efficient way.
type Mercure struct {
// Allow subscribers with no valid JWT.
Anonymous bool `json:"anonymous,omitempty"`
Expand Down

0 comments on commit f0de6f7

Please sign in to comment.