Skip to content
service_port.go 710 B
Newer Older
Michel Roy's avatar
Michel Roy committed
 * Copyright (c) 2019
 * InterDigital Communications, Inc.
 * All rights reserved.
Michel Roy's avatar
Michel Roy committed
 * The information provided herein is the proprietary and confidential
 * information of InterDigital Communications, Inc.
 */

package client

// Service port object
type ServicePort struct {

	// Protocol that the application is using (TCP or UDP)
	Protocol string `json:"protocol,omitempty"`

	// Port number that the service is listening on
	Port int32 `json:"port,omitempty"`

Michel Roy's avatar
Michel Roy committed
	// External port number on which to expose the application (30000 - 32767)  <li>Only one application allowed per external port <li>Scenario builder must configure to prevent conflicts
	ExternalPort int32 `json:"externalPort,omitempty"`
}