package
0.0.0-20241212173216-745cb4b42230
Repository: https://github.com/ibiscum/go-programming-cookbook-second-edition.git
Documentation: pkg.go.dev

# Functions

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

# Constants

GreeterServicePathPrefix is used for all URL paths on a twirp GreeterService server.

# Structs

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.