We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add helper functions to make it easier to construct SourceDescription CNAME packets.
Currently it's cumbersome to generate CNAME packets:
cname := &SourceDescription{ Chunks: []SourceDescriptionChunk{{ Source: 1234, Items: []SourceDescriptionItem{{ Type: SDESCNAME, Text: "cname", }}, }}, }
Because every CompoundPacket requires a SourceDescription with a CNAME, we should make creating these packets easy.
The text was updated successfully, but these errors were encountered:
Add NewCNAMESourceDescription helper method
9495669
This specific source description is very common. This change introduces a helper method to simplify the creation of CNAME source descriptions. #22
2a0c93d
No branches or pull requests
Summary
Add helper functions to make it easier to construct SourceDescription CNAME packets.
Motivation
Currently it's cumbersome to generate CNAME packets:
Because every CompoundPacket requires a SourceDescription with a CNAME, we should make creating these packets easy.
The text was updated successfully, but these errors were encountered: