caddy/modules/caddyhttp/reverseproxy/module.go

14 lines
254 B
Go
Raw Normal View History

2019-05-05 00:49:50 +08:00
package reverseproxy
import (
"bitbucket.org/lightcodelabs/caddy2"
)
// Register caddy module.
func init() {
caddy2.RegisterModule(caddy2.Module{
Name: "http.responders.reverse_proxy",
New: func() interface{} { return new(LoadBalanced) },
2019-05-05 00:49:50 +08:00
})
}