Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2019 Changes in this version + var ErrIntOverflowExample = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthExample = fmt.Errorf("proto: negative length found during unmarshaling") + func RegisterExampleService(srv *ttrpc.Server, svc ExampleService) + type ExampleService interface + Method1 func(ctx context.Context, req *Method1Request) (*Method1Response, error) + Method2 func(ctx context.Context, req *Method1Request) (*google_protobuf.Empty, error) + func NewExampleClient(client *ttrpc.Client) ExampleService + type Method1Request struct + Bar string + Foo string + func (*Method1Request) Descriptor() ([]byte, []int) + func (*Method1Request) ProtoMessage() + func (m *Method1Request) Marshal() (dAtA []byte, err error) + func (m *Method1Request) MarshalTo(dAtA []byte) (int, error) + func (m *Method1Request) Reset() + func (m *Method1Request) Size() (n int) + func (m *Method1Request) Unmarshal(dAtA []byte) error + func (this *Method1Request) String() string + type Method1Response struct + Bar string + Foo string + func (*Method1Response) Descriptor() ([]byte, []int) + func (*Method1Response) ProtoMessage() + func (m *Method1Response) Marshal() (dAtA []byte, err error) + func (m *Method1Response) MarshalTo(dAtA []byte) (int, error) + func (m *Method1Response) Reset() + func (m *Method1Response) Size() (n int) + func (m *Method1Response) Unmarshal(dAtA []byte) error + func (this *Method1Response) String() string + type Method2Request struct + Action string + func (*Method2Request) Descriptor() ([]byte, []int) + func (*Method2Request) ProtoMessage() + func (m *Method2Request) Marshal() (dAtA []byte, err error) + func (m *Method2Request) MarshalTo(dAtA []byte) (int, error) + func (m *Method2Request) Reset() + func (m *Method2Request) Size() (n int) + func (m *Method2Request) Unmarshal(dAtA []byte) error + func (this *Method2Request) String() string