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

# Packages

Package empty_service is a generated twirp stub package.
Package gogo_compat is a generated twirp stub package.
Package google_protobuf_imports is a generated twirp stub package.
Package importable is a generated twirp stub package.
Package importer is a generated twirp stub package.
No description provided by the author
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.
Package service_method_same_name is a generated twirp stub package.
Package snake_case_names is a generated twirp stub package.
Package source_relative 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 (code, msg, meta).

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