mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-21 23:15:06 +00:00
space download endpoint
This commit is contained in:
@@ -22,10 +22,10 @@ func main() {
|
|||||||
handler.NewSpace(srv),
|
handler.NewSpace(srv),
|
||||||
api.WithEndpoint(
|
api.WithEndpoint(
|
||||||
&api.Endpoint{
|
&api.Endpoint{
|
||||||
Name: "Space.Read",
|
Name: "Space.Download",
|
||||||
Handler: "api",
|
Handler: "api",
|
||||||
Method: []string{"POST", "GET"},
|
Method: []string{"POST", "GET"},
|
||||||
Path: []string{"/space/read"},
|
Path: []string{"/space/download"},
|
||||||
}),
|
}),
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user