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

# Functions

NewJSONSerializationJSONClient creates a JSON client that implements the JSONSerialization interface.
NewJSONSerializationProtobufClient creates a Protobuf client that implements the JSONSerialization interface.
NewJSONSerializationServer 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

JSONSerializationPathPrefix is a convenience constant that could used to identify URL paths.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

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

# Type aliases

No description provided by the author