package
0.0.0-20190501115218-4aa481ad603f
Repository: https://github.com/apptreesoftware/protoc-gen-twirp_dart.git
Documentation: pkg.go.dev

# Functions

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

# Constants

HaberdasherPathPrefix is used for all URL paths on a twirp Haberdasher server.

# Interfaces

A Haberdasher makes hats for clients.
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.