[management] restructure api files (#3013)

This commit is contained in:
Pascal Fischer
2024-12-10 15:59:25 +01:00
committed by GitHub
parent 97bb74f824
commit 6142828a9c
30 changed files with 461 additions and 426 deletions

View File

@ -14,6 +14,10 @@ import (
"github.com/netbirdio/netbird/management/server/status"
)
// EmptyObject is an empty struct used to return empty JSON object
type EmptyObject struct {
}
type ErrorResponse struct {
Message string `json:"message"`
Code int `json:"code"`