command
Version:
v6.0.0-prerelease.alph...
Opens a new window with list of versions in this module.
Published: May 13, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
twirp example server
This binary is an example twirp server. It's meant mostly to be read
and to be used in conjunction with the neighboring client binary.
When a request is made, the server will log the statsd messages it
would have sent, so you'll see stuff like this:
-> % ./server
incr twirp.total.requests: 1 @ 1.000000
incr twirp.MakeHat.requests: 1 @ 1.000000
incr twirp.total.responses: 1 @ 1.000000
incr twirp.MakeHat.responses: 1 @ 1.000000
incr twirp.status_codes.total.200: 1 @ 1.000000
incr twirp.status_codes.MakeHat.200: 1 @ 1.000000
time twirp.all_methods.response: 370.695µs @ 1.000000
time twirp.MakeHat.response: 370.695µs @ 1.000000
time twirp.status_codes.all_methods.200: 370.695µs @ 1.000000
time twirp.status_codes.MakeHat.200: 370.695µs @ 1.000000
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.