Last active
          June 16, 2016 18:09 
        
      - 
      
- 
        Save mattbennett/3663cd6a84a8ad63d2e71163ca2b00bc to your computer and use it in GitHub Desktop. 
    nameko rpc hello world
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from nameko.rpc import rpc | |
| class HelloService(object): | |
| name = "hello" | |
| @rpc | |
| def hello(self, name): | |
| return "Hello, {}!".format(name) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | nameko | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment