Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FqdnService ¶
type FqdnService struct {
// contains filtered or unexported fields
}
func NewFqdnService ¶
func NewFqdnService(log logger.Logger, timeout time.Duration) *FqdnService
func (*FqdnService) CheckFqdnReachability ¶
func (fq *FqdnService) CheckFqdnReachability(req models.FqdnRequest, port string, duration time.Duration) models.FqdnResponse
type IFqdnService ¶
type IFqdnService interface {
CheckFqdnReachability(models.FqdnRequest, string, time.Duration) models.FqdnResponse
}
type MockFqdnService ¶
type MockFqdnService struct {
CheckFqdnReachabilityFunc func(models.FqdnRequest, string, time.Duration) models.FqdnResponse
}
func (*MockFqdnService) CheckFqdnReachability ¶
func (mfq *MockFqdnService) CheckFqdnReachability(req models.FqdnRequest, port string, duration time.Duration) models.FqdnResponse
Click to show internal directories.
Click to hide internal directories.