Initial Project

This commit is contained in:
2024-01-17 15:56:44 +13:00
parent 196e17cd29
commit 1e5f136257
14 changed files with 307 additions and 244 deletions

View File

@@ -0,0 +1,9 @@
package responses
// Definition of expected fields in response to a DirectAdmin instance
type DAResponse struct {
Error int32 `url:"error"`
Exists int32 `url:"exists,omitempty"`
Message string `url:"text,omitempty"`
Details string `url:"details,omitempty"`
}