vendor proto files from google (#1536)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
33e3df9bdb
commit
213359baed
@ -42,6 +42,7 @@ func NewTestEndpoints() []*api.Endpoint {
|
|||||||
Name: "Test.Call",
|
Name: "Test.Call",
|
||||||
Path: []string{"/api/v0/test/call/{uuid}"},
|
Path: []string{"/api/v0/test/call/{uuid}"},
|
||||||
Method: []string{"POST"},
|
Method: []string{"POST"},
|
||||||
|
Body: "*",
|
||||||
Handler: "rpc",
|
Handler: "rpc",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -93,6 +94,7 @@ func RegisterTestHandler(s server.Server, hdlr TestHandler, opts ...server.Handl
|
|||||||
Name: "Test.Call",
|
Name: "Test.Call",
|
||||||
Path: []string{"/api/v0/test/call/{uuid}"},
|
Path: []string{"/api/v0/test/call/{uuid}"},
|
||||||
Method: []string{"POST"},
|
Method: []string{"POST"},
|
||||||
|
Body: "*",
|
||||||
Handler: "rpc",
|
Handler: "rpc",
|
||||||
}))
|
}))
|
||||||
return s.Handle(s.NewHandler(&Test{h}, opts...))
|
return s.Handle(s.NewHandler(&Test{h}, opts...))
|
||||||
|
Loading…
Reference in New Issue
Block a user