mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-12 13:33:51 +08:00
14 lines
268 B
Go
Executable File
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 },
|
|
})
|
|
}
|