package
8.1.2+incompatible
Repository: https://github.com/jsok/twirp.git
Documentation: pkg.go.dev

# Functions

NewEchoJSONClient creates a JSON client that implements the Echo interface.
NewEchoProtobufClient creates a Protobuf client that implements the Echo interface.
NewEchoServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation.
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta).

# Constants

EchoPathPrefix is a convenience constant that may identify URL paths.

# Variables

No description provided by the author

# Structs

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.