caddy/modules/caddyhttp/reverseproxy/module.go

14 lines
268 B
Go
Executable File

package reverseproxy
import (
"bitbucket.org/lightcodelabs/caddy2"
)
// Register caddy module.
func init() {
caddy2.RegisterModule(caddy2.Module{
Name: "http.responders.reverse_proxy",
New: func() (interface{}, error) { return new(LoadBalanced), nil },
})
}