userver: utest::DnsServerMock::DnsAnswer Struct Reference
Loading...
Searching...
No Matches
utest::DnsServerMock::DnsAnswer Struct Reference

Detailed Description

Definition at line 35 of file dns_server_mock.hpp.

Public Types

using AnswerData
 

Public Attributes

RecordType type {RecordType::kInvalid}
 
AnswerData data
 
int ttl {0}
 

Member Typedef Documentation

◆ AnswerData

using utest::DnsServerMock::DnsAnswer::AnswerData
Initial value:
std::variant<std::monostate, engine::io::Sockaddr, std::string>

Definition at line 36 of file dns_server_mock.hpp.

Member Data Documentation

◆ data

AnswerData utest::DnsServerMock::DnsAnswer::data

Definition at line 40 of file dns_server_mock.hpp.

◆ ttl

int utest::DnsServerMock::DnsAnswer::ttl {0}

Definition at line 41 of file dns_server_mock.hpp.

◆ type

RecordType utest::DnsServerMock::DnsAnswer::type {RecordType::kInvalid}

Definition at line 39 of file dns_server_mock.hpp.


The documentation for this struct was generated from the following file: