feat(contracts): add gateway service seams and protobuf toolchain
This commit is contained in:
1 parent
3d7666002c
commit
80eb2ccc4e
1 file changed
+1
-5
@@ -9,9 +9,5 @@ func testChatService(router *gateway.Router, sessions gateway.SessionStore, turn
|
||||
}
|
||||
|
||||
func testLocalChat(service *ChatService) *gateway.LocalChatAdapter {
|
||||
local, ok := service.Contract.(*gateway.LocalChatAdapter)
|
||||
if !ok {
|
||||
panic("test ChatService does not use LocalChatAdapter")
|
||||
}
|
||||
return local
|
||||
return service.Contract.(*gateway.LocalChatAdapter)
|
||||
}
|
||||
Reference in new issue
Block a user