using System;
namespace FastGithub.Scanner.ScanMiddlewares
{
[Options("Github:Scan:TcpScan")]
sealed class TcpScanOptions
{
///
/// 扫描超时时长
///
public TimeSpan Timeout { get; set; } = TimeSpan.FromSeconds(1d);
///
/// 扫描结果缓存时长
///
public TimeSpan CacheExpiration { get; set; } = TimeSpan.FromMinutes(20d);
}
}