Documentation
¶
Index ¶
- Constants
- type ApplicationLayerDiscovery
- type IApplicationDiscoveryResult
- type IPresentationDiscoveryResult
- type ISessionHandler
- type ISessionLayerDiscoveryResult
- type PresentationLayerDiscovery
- type PresentationLayerProtocol
- type SessionLayerProtocol
- type SessionLayerProtocolDiscovery
- type TransportProtocol
Constants ¶
View Source
const ( TCP TransportProtocol = "tcp" UDP TransportProtocol = "udp" TLS SessionLayerProtocol = "tls" SSH SessionLayerProtocol = "ssh" NO_SESSION_LAYER SessionLayerProtocol = "tcp" HTTP PresentationLayerProtocol = "http" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationLayerDiscovery ¶
type ApplicationLayerDiscovery interface { Protocol() string Discover(sessionHandler ISessionHandler, presenationLayerDiscoveryResult IPresentationDiscoveryResult) (IApplicationDiscoveryResult, error) }
type IPresentationDiscoveryResult ¶
type IPresentationDiscoveryResult interface { Protocol() PresentationLayerProtocol GetIsDetected() bool GetProperties() map[string]interface{} }
type ISessionHandler ¶
type ISessionLayerDiscoveryResult ¶
type ISessionLayerDiscoveryResult interface { Protocol() SessionLayerProtocol GetIsDetected() bool GetProperties() map[string]interface{} GetSessionHandler() (ISessionHandler, error) }
type PresentationLayerDiscovery ¶
type PresentationLayerDiscovery interface { Protocol() PresentationLayerProtocol Discover(sessionHandler ISessionHandler) (IPresentationDiscoveryResult, error) }
type PresentationLayerProtocol ¶
type PresentationLayerProtocol string
type SessionLayerProtocol ¶
type SessionLayerProtocol string
type SessionLayerProtocolDiscovery ¶
type SessionLayerProtocolDiscovery interface { Protocol() TransportProtocol SessionLayerDiscover(hostAddr string, port int) (ISessionLayerDiscoveryResult, error) }
type TransportProtocol ¶
type TransportProtocol string
Click to show internal directories.
Click to hide internal directories.