Not impl endpoints
This commit is contained in:
7
server/balance/read.go
Normal file
7
server/balance/read.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package balance
|
||||
|
||||
import "net/http"
|
||||
|
||||
func Read(w http.ResponseWriter, r *http.Request) {
|
||||
http.Error(w, "not impl", http.StatusNotImplemented)
|
||||
}
|
||||
7
server/balance/readrequest.go
Normal file
7
server/balance/readrequest.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package balance
|
||||
|
||||
type ReadRequest struct {
|
||||
Accounts []string `json:"accounts"`
|
||||
Start int64 `json:"start"`
|
||||
Stop int64 `json:"stop"`
|
||||
}
|
||||
3
server/balance/readresponse.go
Normal file
3
server/balance/readresponse.go
Normal file
@@ -0,0 +1,3 @@
|
||||
package balance
|
||||
|
||||
type ReadResponse map[string]map[int64]float32
|
||||
1
server/balance/writerequest.go
Normal file
1
server/balance/writerequest.go
Normal file
@@ -0,0 +1 @@
|
||||
package balance
|
||||
1
server/balance/writeresponse.go
Normal file
1
server/balance/writeresponse.go
Normal file
@@ -0,0 +1 @@
|
||||
package balance
|
||||
Reference in New Issue
Block a user