Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TCPCheckUsecase ¶
type TCPCheckUsecase interface {
Run(ctx context.Context, hostname string, port uint32, timeout time.Duration) (*TCPConnectivityCheckResult, error)
}
func NewTCPCheckUsecase ¶
func NewTCPCheckUsecase(client TCPClientPort) TCPCheckUsecase
type TCPClientPort ¶
type TCPConnectivityCheckResult ¶
type TCPConnectivityCheckResult struct { IsOk bool FailReason *pb.TCPCheckFailureReason }
Click to show internal directories.
Click to hide internal directories.