mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-29 07:03:48 +03:00
13 lines
254 B
Go
Executable file
13 lines
254 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{} { return new(LoadBalanced) },
|
|
})
|
|
}
|