Versions in this module Expand all Collapse all v8 v8.0.0 Nov 4, 2020 Changes in this version + const SvcPathPrefix + var ErrIntOverflowService = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") + func WriteError(resp http.ResponseWriter, err error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type Msg struct + func (*Msg) Descriptor() ([]byte, []int) + func (*Msg) ProtoMessage() + func (m *Msg) Marshal() (dAtA []byte, err error) + func (m *Msg) MarshalTo(dAtA []byte) (int, error) + func (m *Msg) Reset() + func (m *Msg) Size() (n int) + func (m *Msg) String() string + func (m *Msg) Unmarshal(dAtA []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