mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-25 05:51:58 +08:00
14 lines
254 B
Go
Executable File
14 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) },
|
|
})
|
|
}
|