Versions in this module Expand all Collapse all v8 v8.0.0 Nov 4, 2020 Changes in this version + const HaberdasherV1PathPrefix + func WriteError(resp http.ResponseWriter, err error) + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type HaberdasherV1 interface + MakeHatV1 func(context.Context, *MakeHatArgsV1_SizeV1) (*MakeHatArgsV1_HatV1, error) + func NewHaberdasherV1JSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) HaberdasherV1 + func NewHaberdasherV1ProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) HaberdasherV1 + type MakeHatArgsV1 struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*MakeHatArgsV1) Descriptor() ([]byte, []int) + func (*MakeHatArgsV1) ProtoMessage() + func (m *MakeHatArgsV1) Reset() + func (m *MakeHatArgsV1) String() string + func (m *MakeHatArgsV1) XXX_DiscardUnknown() + func (m *MakeHatArgsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MakeHatArgsV1) XXX_Merge(src proto.Message) + func (m *MakeHatArgsV1) XXX_Size() int + func (m *MakeHatArgsV1) XXX_Unmarshal(b []byte) error + type MakeHatArgsV1_HatV1 struct + Color string + Name string + Size int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*MakeHatArgsV1_HatV1) Descriptor() ([]byte, []int) + func (*MakeHatArgsV1_HatV1) ProtoMessage() + func (m *MakeHatArgsV1_HatV1) GetColor() string + func (m *MakeHatArgsV1_HatV1) GetName() string + func (m *MakeHatArgsV1_HatV1) GetSize() int32 + func (m *MakeHatArgsV1_HatV1) Reset() + func (m *MakeHatArgsV1_HatV1) String() string + func (m *MakeHatArgsV1_HatV1) XXX_DiscardUnknown() + func (m *MakeHatArgsV1_HatV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MakeHatArgsV1_HatV1) XXX_Merge(src proto.Message) + func (m *MakeHatArgsV1_HatV1) XXX_Size() int + func (m *MakeHatArgsV1_HatV1) XXX_Unmarshal(b []byte) error + type MakeHatArgsV1_SizeV1 struct + Inches int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*MakeHatArgsV1_SizeV1) Descriptor() ([]byte, []int) + func (*MakeHatArgsV1_SizeV1) ProtoMessage() + func (m *MakeHatArgsV1_SizeV1) GetInches() int32 + func (m *MakeHatArgsV1_SizeV1) Reset() + func (m *MakeHatArgsV1_SizeV1) String() string + func (m *MakeHatArgsV1_SizeV1) XXX_DiscardUnknown() + func (m *MakeHatArgsV1_SizeV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MakeHatArgsV1_SizeV1) XXX_Merge(src proto.Message) + func (m *MakeHatArgsV1_SizeV1) XXX_Size() int + func (m *MakeHatArgsV1_SizeV1) XXX_Unmarshal(b []byte) error + type TwirpServer interface + PathPrefix func() string + ProtocGenTwirpVersion func() string + ServiceDescriptor func() ([]byte, int) + func NewHaberdasherV1Server(svc HaberdasherV1, opts ...interface{}) TwirpServer Other modules containing this package github.com/3ventic/twirp