We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 231ca56 commit a303220Copy full SHA for a303220
modules/toxiproxy/config.go
@@ -8,14 +8,15 @@ import (
8
9
// proxy represents a single proxy configuration in the toxiproxy config file
10
type proxy struct {
11
- Name string `json:"name"`
12
- Listen string `json:"listen"`
+ Name string `json:"name"`
+ Listen string `json:"listen"`
13
+ Upstream string `json:"upstream"`
14
+ Enabled bool `json:"enabled"`
15
+
16
listenIP string
- listenPort int
- Upstream string `json:"upstream"`
17
upstreamIP string
18
+ listenPort int
19
upstreamPort int
- Enabled bool `json:"enabled"`
20
}
21
22
// sanitize is a helper function that returns another proxy
0 commit comments