Implementing list endpoints
This commit is contained in:
@ -33,8 +33,14 @@ var _ = Service("character", func() {
|
||||
})
|
||||
})
|
||||
|
||||
// Method("listCharacters", func() {
|
||||
// })
|
||||
Method("listCharacters", func() {
|
||||
Payload(Empty)
|
||||
Result(ArrayOf(Character))
|
||||
|
||||
GRPC(func() {
|
||||
Response(CodeOK)
|
||||
})
|
||||
})
|
||||
|
||||
Method("createCharacter", func() {
|
||||
Payload(Character)
|
||||
|
Reference in New Issue
Block a user