package
6.0.0-prerelease.alpha1+incompatible
Repository: https://github.com/igorbeider/twirp.git
Documentation: pkg.go.dev

# Functions

NewCompatServiceJSONClient creates a JSON client that implements the CompatService interface.
NewCompatServiceProtobufClient creates a Protobuf client that implements the CompatService interface.
No description provided by the author
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta).

# Constants

No description provided by the author
No description provided by the author
CompatServicePathPrefix is used for all URL paths on a twirp CompatService server.

# 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
No description provided by the author
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.

# Type aliases

No description provided by the author