Not impl endpoints

This commit is contained in:
bel
2020-04-12 16:56:14 +00:00
parent 79600941be
commit 0b4ecd1916
23 changed files with 213 additions and 0 deletions

7
server/account/read.go Normal file
View File

@@ -0,0 +1,7 @@
package account
import "net/http"
func Read(w http.ResponseWriter, r *http.Request) {
http.Error(w, "not impl", http.StatusNotImplemented)
}

View File

@@ -0,0 +1,5 @@
package account
type ReadRequest struct {
Accounts []string `json:"accounts"`
}

View File

@@ -0,0 +1,8 @@
package account
import "encoding/json"
type ReadResponse map[string]struct {
Name string `json:"name"`
Meta json.RawMessage `json:"meta"`
}

7
server/account/write.go Normal file
View File

@@ -0,0 +1,7 @@
package account
import "net/http"
func Write(w http.ResponseWriter, r *http.Request) {
http.Error(w, "not impl", http.StatusNotImplemented)
}

View File

@@ -0,0 +1,5 @@
package account
import "local/cheqbooq/server/transaction"
type WriteRequest transaction.WriteRequest

View File

@@ -0,0 +1,5 @@
package account
import "local/cheqbooq/server/transaction"
type WriteResponse transaction.WriteResponse