You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
268 B
13 lines
268 B
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 },
|
|
})
|
|
}
|
|
|