mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-16 02:41:09 +07:00
feat(dns): support fixed domain ttl (#100)
* feat(dns): support fixed domain ttl * docs
This commit is contained in:
@ -466,3 +466,11 @@ func IsValidHttpMethod(method string) bool {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
func StringSet(list []string) map[string]struct{} {
|
||||
m := make(map[string]struct{})
|
||||
for _, s := range list {
|
||||
m[s] = struct{}{}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
Reference in New Issue
Block a user