Versions in this module Expand all Collapse all v8 v8.0.0 Nov 4, 2020 Changes in this version + const EchoPathPrefix + func WriteError(resp http.ResponseWriter, err error) + type Echo interface + Echo func(context.Context, *Msg) (*Msg, error) + func NewEchoJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Echo + func NewEchoProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Echo + 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 TwirpServer interface + PathPrefix func() string + ProtocGenTwirpVersion func() string + ServiceDescriptor func() ([]byte, int) + func NewEchoServer(svc Echo, opts ...interface{}) TwirpServer Other modules containing this package github.com/3ventic/twirp