Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SonarService ¶
type SonarService struct { Name string Port int Transport TransportProtocol }
func NewSonarService ¶
func NewSonarService(serviceStr string) (SonarService, error)
func (SonarService) ToString ¶
func (s SonarService) ToString() string
ToString produces a Sonar file compliant string representation of the service
type TransportProtocol ¶
type TransportProtocol string
const ( TCP TransportProtocol = "tcp" UDP TransportProtocol = "udp" NotDef TransportProtocol = "" )
func NewTransportProtocol ¶
func NewTransportProtocol(s string) (TransportProtocol, error)
Click to show internal directories.
Click to hide internal directories.