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 Msg struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Msg) Descriptor() ([]byte, []int) + func (*Msg) ProtoMessage() + func (m *Msg) Reset() + func (m *Msg) String() string + func (m *Msg) XXX_DiscardUnknown() + func (m *Msg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Msg) XXX_Merge(src proto.Message) + func (m *Msg) XXX_Size() int + func (m *Msg) XXX_Unmarshal(b []byte) error + type Svc interface + Send func(context.Context, *Msg) (*Msg, 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