Versions in this module Expand all Collapse all v0 v0.1.0 May 20, 2024 Changes in this version + const WellKnownPluginAPIVersion + 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 WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption + func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption + type DiffReply struct + Duration *durationpb.Duration + func (m *DiffReply) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *DiffReply) MarshalToVT(dAtA []byte) (int, error) + func (m *DiffReply) MarshalVT() (dAtA []byte, err error) + func (m *DiffReply) SizeVT() (n int) + func (m *DiffReply) UnmarshalVT(dAtA []byte) error + func (x *DiffReply) GetDuration() *durationpb.Duration + func (x *DiffReply) ProtoReflect() protoreflect.Message + type DiffRequest struct + End *timestamppb.Timestamp + Start *timestamppb.Timestamp + Value *structpb.Value + func (m *DiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *DiffRequest) MarshalToVT(dAtA []byte) (int, error) + func (m *DiffRequest) MarshalVT() (dAtA []byte, err error) + func (m *DiffRequest) SizeVT() (n int) + func (m *DiffRequest) UnmarshalVT(dAtA []byte) error + func (x *DiffRequest) GetEnd() *timestamppb.Timestamp + func (x *DiffRequest) GetStart() *timestamppb.Timestamp + func (x *DiffRequest) GetValue() *structpb.Value + func (x *DiffRequest) ProtoReflect() protoreflect.Message + type WazeroConfig struct + type WazeroNewRuntime func(context.Context) (wazero.Runtime, error) + func DefaultWazeroRuntime() WazeroNewRuntime + type WellKnown interface + Diff func(context.Context, *DiffRequest) (*DiffReply, error) + type WellKnownPlugin struct + func NewWellKnownPlugin(ctx context.Context, opts ...wazeroConfigOption) (*WellKnownPlugin, error) + func (p *WellKnownPlugin) Load(ctx context.Context, pluginPath string) (wellKnown, error)