We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ff4f9 commit c83b7b0Copy full SHA for c83b7b0
internal/ir/infra.go
@@ -29,10 +29,16 @@ type ProxyInfra struct {
29
30
// ProxyListener defines the listener configuration of the proxy infrastructure.
31
type ProxyListener struct {
32
- // Name is the name of the listener.
33
- Name string
34
// Address is the address that the listener should listen on.
35
Address string
36
- // Port is the network port that the listener should listen on.
+ // Ports define network ports of the listener.
+ Ports []ListenerPort
+}
37
+
38
+// ListenerPort defines a network port of a listener.
39
+type ListenerPort struct {
40
+ // Name is the name of the listener port.
41
+ Name string
42
+ // Port is the port number to listen on.
43
Port int32
44
}
0 commit comments