caddy/modules/caddyhttp/reverseproxy/module.go

14 lines
246 B
Go
Raw Normal View History

2019-05-04 19:49:50 +03:00
package reverseproxy
import (
"github.com/caddyserver/caddy"
2019-05-04 19:49:50 +03:00
)
// Register caddy module.
func init() {
caddy.RegisterModule(caddy.Module{
2019-05-04 19:49:50 +03:00
Name: "http.responders.reverse_proxy",
New: func() interface{} { return new(LoadBalanced) },
2019-05-04 19:49:50 +03:00
})
}