1 2 3 4 5 6 7 8 9 10 11 12 13
package reverseproxy import ( "github.com/caddyserver/caddy" ) // Register caddy module. func init() { caddy.RegisterModule(caddy.Module{ Name: "http.responders.reverse_proxy", New: func() interface{} { return new(LoadBalanced) }, }) }