mirror of
https://github.com/caddyserver/caddy.git
synced 2024-11-28 20:01:15 +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 },
|
|
})
|
|
}
|