package
0.0.0-20190310032419-c729bb3725f1
Repository: https://github.com/dowlandaiello/gop2p.git
Documentation: pkg.go.dev
# Functions
NewDatabaseJSONClient creates a JSON client that implements the Database interface.
NewDatabaseProtobufClient creates a Protobuf client that implements the Database interface.
No description provided by the author
WriteError writes an HTTP response with a valid Twirp error format.
# Constants
DatabasePathPrefix is used for all URL paths on a twirp Database 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.