Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAerakiSupportedProtocols ¶
IsAerakiSupportedProtocols return true if the protocol is supported by Aeraki, false if not
func RegisterProtocol ¶
RegisterProtocol register custom protocol
Types ¶
type Instance ¶
type Instance string
Instance defines network protocols for ports
const ( // Dubbo declares that the port carries dubbo traffic. Dubbo Instance = "Dubbo" // Thrift declares that the port carries Thrift traffic. Thrift Instance = "Thrift" // Mongo declares that the port carries MongoDB traffic. Mongo Instance = "Mongo" // Redis declares that the port carries Redis traffic. Redis Instance = "Redis" // MySQL declares that the port carries MySQL traffic. MySQL Instance = "MySQL" // Kafka declares that the port carries Kafka traffic. Kafka Instance = "Kafka" // Zookeeper declares that the port carries Zookeeper traffic. Zookeeper Instance = "Zookeeper" // MetaProtocol declares that the port carries MetaProtocol traffic. MetaProtocol Instance = "MetaProtocol" // Unsupported - value to signify that the protocol is unsupported. Unsupported Instance = "UnsupportedProtocol" )
func GetLayer7ProtocolFromPortName ¶
GetLayer7ProtocolFromPortName extracts the layer-7 protocol name from the port name of a service
func (Instance) IsMetaProtocol ¶
IsMetaProtocol is true for protocols that use MetaProtocol as transport protocol
func (Instance) IsUnsupported ¶
IsUnsupported is true for protocols that are not supported
Click to show internal directories.
Click to hide internal directories.