Versions in this module Expand all Collapse all v8 v8.0.0 Nov 4, 2020 Changes in this version + const SvcPathPrefix + func WriteError(resp http.ResponseWriter, err error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type Svc interface + Send func(context.Context, *google_protobuf1.StringValue) (*google_protobuf.Empty, error) + func NewSvcJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Svc + func NewSvcProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Svc + type TwirpServer interface + PathPrefix func() string + ProtocGenTwirpVersion func() string + ServiceDescriptor func() ([]byte, int) + func NewSvcServer(svc Svc, opts ...interface{}) TwirpServer Other modules containing this package github.com/3ventic/twirp