vendor proto files from google (#1536)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-04-15 13:22:32 +03:00
parent 33e3df9bdb
commit 213359baed

View File

@ -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...))