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

# Packages

Package gogo_compat is a generated twirp stub package.
Package importable is a generated twirp stub package.
Package importer is a generated twirp stub package.
Package multiple is a generated twirp stub package.
Package no_package_name is a generated twirp stub package.
Package no_package_name_importer is a generated twirp stub package.
Package proto is a generated twirp stub package.

# Functions

Always errors.
HaberdasherFunc is a convenience to convert a function into a Haberdasher service.
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
Returns nil, nil.
Always makes a blank hat.
Panics.
Makes a hat, as long as its the size they like.
No description provided by the author
Makes a hat, but sure takes their time.
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.

# Structs

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

# 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.