add getDomainMetadata endpoint which returns an error result

This commit is contained in:
Philipp Böhm 2018-01-28 01:50:07 +01:00
parent a9167f5d8a
commit 25d1322902

View file

@ -49,5 +49,11 @@ func (b *Backend) Run() error {
}
})
r.GET("/dnsapi/getDomainMetadata/:name/:kind", func(c *gin.Context) {
c.JSON(200, gin.H{
"result": false,
})
})
return r.Run(b.config.ListenBackend)
}