Skip to main content

Socket server entrypoints for nameko services

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nameko-socket-server-0.1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page