libdns/rfc2136 use snake_case instead of PascalCase for configuration directives; clarify the meaning of the configuration directives

This commit is contained in:
Louis Guidez reind33r 2024-02-15 23:55:55 +01:00
parent 250ee6fd87
commit eeb49621f4
2 changed files with 12 additions and 8 deletions

View file

@ -16,10 +16,10 @@ func init() {
RecordDeleter: &p,
RecordAppender: &p,
setConfig: func(c *config.Map) {
c.String("KeyName", false, true, "", &p.KeyName)
c.String("Key", false, true, "", &p.Key)
c.String("KeyAlg", false, true, "", &p.KeyAlg)
c.String("Server", false, true, "", &p.Server)
c.String("key_name", false, true, "", &p.KeyName)
c.String("key", false, true, "", &p.Key)
c.String("key_alg", false, true, "", &p.KeyAlg)
c.String("server", false, true, "", &p.Server)
},
instName: instName,
modName: modName,