Versions in this module Expand all Collapse all v8 v8.0.0 Nov 4, 2020 Changes in this version + const Svc2PathPrefix + func WriteError(resp http.ResponseWriter, err error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type Svc2 interface + Method func(context.Context, *no_package_name.Msg) (*no_package_name.Msg, error) + func NewSvc2JSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Svc2 + func NewSvc2ProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Svc2 + type TwirpServer interface + PathPrefix func() string + ProtocGenTwirpVersion func() string + ServiceDescriptor func() ([]byte, int) + func NewSvc2Server(svc Svc2, opts ...interface{}) TwirpServer Other modules containing this package github.com/3ventic/twirp