aboutsummaryrefslogtreecommitdiff
path: root/messages.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-01-15 23:41:34 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-01-15 23:41:34 +0100
commit5af20841fa5c341ea4d18c4c1e99946d12fffb08 (patch)
tree9f92ed0721a2d2b54a989048721d3115490ed074 /messages.go
parent160175a8d8378e2c6e058e802bdaaea118ab03d2 (diff)
Reduce
Diffstat (limited to 'messages.go')
-rw-r--r--messages.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/messages.go b/messages.go
index eca566d..26caeac 100644
--- a/messages.go
+++ b/messages.go
@@ -158,10 +158,6 @@ var identTypes = map[IdentType]string{
IdentDNS: "dns",
}
-func NewIdent(domain string) Identifier {
- return Identifier{Type: IdentDNS, Value: domain}
-}
-
func (i IdentType) String() string {
return identTypes[i]
}