Versions in this module Expand all Collapse all v0 v0.1.0 May 20, 2024 Changes in this version + const BarPluginAPIVersion + 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 Bar interface + Hello func(context.Context, *Request) (*Reply, error) + type BarPlugin struct + func NewBarPlugin(ctx context.Context, opts ...wazeroConfigOption) (*BarPlugin, error) + func (p *BarPlugin) Load(ctx context.Context, pluginPath string) (bar, error) + type Reply struct + A string + func (m *Reply) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *Reply) MarshalToVT(dAtA []byte) (int, error) + func (m *Reply) MarshalVT() (dAtA []byte, err error) + func (m *Reply) SizeVT() (n int) + func (m *Reply) UnmarshalVT(dAtA []byte) error + func (x *Reply) GetA() string + func (x *Reply) ProtoReflect() protoreflect.Message + type Request struct + A string + func (m *Request) MarshalToSizedBufferVT(dAtA []byte) (int, error) + func (m *Request) MarshalToVT(dAtA []byte) (int, error) + func (m *Request) MarshalVT() (dAtA []byte, err error) + func (m *Request) SizeVT() (n int) + func (m *Request) UnmarshalVT(dAtA []byte) error + func (x *Request) GetA() string + func (x *Request) ProtoReflect() protoreflect.Message + type WazeroConfig struct + type WazeroNewRuntime func(context.Context) (wazero.Runtime, error) + func DefaultWazeroRuntime() WazeroNewRuntime