From bc00d840e845d42145954839b88f1e836cd51bfd Mon Sep 17 00:00:00 2001
From: Matthew Holt <mholt@users.noreply.github.com>
Date: Wed, 22 May 2019 12:32:36 -0600
Subject: Export types and fields necessary to build configs (for config
 adapters)

Also flag most fields with 'omitempty' for JSON marshaling
---
 modules/caddyhttp/reverseproxy/upstream.go | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'modules/caddyhttp/reverseproxy')

diff --git a/modules/caddyhttp/reverseproxy/upstream.go b/modules/caddyhttp/reverseproxy/upstream.go
index 1217861..1d77a8e 100755
--- a/modules/caddyhttp/reverseproxy/upstream.go
+++ b/modules/caddyhttp/reverseproxy/upstream.go
@@ -37,6 +37,8 @@ const (
 	// TypeBalanceRandom represents the value to use for configuring a load balanced reverse proxy to use random load balancing.
 	TypeBalanceRandom
 
+	// TODO: add random with two choices
+
 	// msgNoHealthyUpstreams is returned if there are no upstreams that are healthy to proxy a request to
 	msgNoHealthyUpstreams = "No healthy upstreams."
 
-- 
cgit v1.2.3