Versions in this module Expand all Collapse all v0 v0.8.0 Jun 25, 2023 v0.7.0 Mar 29, 2023 Changes in this version + var ErrIntOverflow = fmt.Errorf("proto: integer overflow") + var ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") + func Instantiate(ctx context.Context, r wazero.Runtime, hostFunctions ParserLibrary) error + type ParseJsonRequest struct + Content []byte + func (m *ParseJsonRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *ParseJsonRequest) MarshalToVT(dAtA []byte) (int, error) + func (m *ParseJsonRequest) MarshalVT() (dAtA []byte, err error) + func (m *ParseJsonRequest) SizeVT() (n int) + func (m *ParseJsonRequest) UnmarshalVT(dAtA []byte) error + func (x *ParseJsonRequest) GetContent() []byte + func (x *ParseJsonRequest) ProtoReflect() protoreflect.Message + type ParseJsonResponse struct + Response *Person + func (m *ParseJsonResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *ParseJsonResponse) MarshalToVT(dAtA []byte) (int, error) + func (m *ParseJsonResponse) MarshalVT() (dAtA []byte, err error) + func (m *ParseJsonResponse) SizeVT() (n int) + func (m *ParseJsonResponse) UnmarshalVT(dAtA []byte) error + func (x *ParseJsonResponse) GetResponse() *Person + func (x *ParseJsonResponse) ProtoReflect() protoreflect.Message + type ParserLibrary interface + ParseJson func(context.Context, *ParseJsonRequest) (*ParseJsonResponse, error) + type Person struct + Age int64 + Name string + func (m *Person) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *Person) MarshalToVT(dAtA []byte) (int, error) + func (m *Person) MarshalVT() (dAtA []byte, err error) + func (m *Person) SizeVT() (n int) + func (m *Person) UnmarshalVT(dAtA []byte) error + func (x *Person) GetAge() int64 + func (x *Person) GetName() string + func (x *Person) ProtoReflect() protoreflect.Message