Skip to content

onefinestay/nameko-socket-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nameko-socket-server

Entrypoints for access via simple sockets

Usage

from nameko_socket_server import socket_command

class MyService(object):
    @socket_command('hello')
    def hello(self):
        return 'hello world'
$ echo 'hello' | nc localhost 6000; echo
hello world

About

Socket server entrypoints for nameko services

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages