Versions in this module Expand all Collapse all v0 v0.1.0 May 20, 2024 Changes in this version + const FooPluginAPIVersion + 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 Foo interface + Hello func(context.Context, *Request) (*bar.Reply, error) + type FooPlugin struct + func NewFooPlugin(ctx context.Context, opts ...wazeroConfigOption) (*FooPlugin, error) + func (p *FooPlugin) Load(ctx context.Context, pluginPath string) (foo, error) + 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