package
0.0.0-20180819044351-e2a0c4b37ad1
Repository: https://github.com/xe/twirp-codegens.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewHelloWorldJSONClient creates a JSON client that implements the HelloWorld interface.
No description provided by the author
No description provided by the author
NewHelloWorldProtobufClient creates a Protobuf client that implements the HelloWorld interface.
No description provided by the author
WriteError writes an HTTP response with a valid Twirp error format.

# Constants

HelloWorldPathPrefix is used for all URL paths on a twirp HelloWorld server.

# Structs

HelloWorldAnalytics is a middleware for HelloWorld that collects timing and error rate data for servers.
HelloWorldLogging is a middleware for HelloWorld that logs all usage of the methods.
HelloWorldMetrics is a middleware for HelloWorld that collects timing and error rate data for servers.
No description provided by the author

# Interfaces

No description provided by the author
HTTPClient is the interface used by generated clients to send HTTP requests.
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service.