package bar
import "github.com/knqyf263/go-plugin/tests/import/proto/bar"
Index ¶
- Constants
- Variables
- func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
- func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
- type Bar
- type BarPlugin
- func NewBarPlugin(ctx context.Context, opts ...wazeroConfigOption) (*BarPlugin, error)
- func (p *BarPlugin) Load(ctx context.Context, pluginPath string) (bar, error)
- type Reply
- func (x *Reply) GetA() 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 (x *Reply) ProtoReflect() protoreflect.Message
- func (m *Reply) SizeVT() (n int)
- func (m *Reply) UnmarshalVT(dAtA []byte) error
- type Request
- func (x *Request) GetA() 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 (x *Request) ProtoReflect() protoreflect.Message
- func (m *Request) SizeVT() (n int)
- func (m *Request) UnmarshalVT(dAtA []byte) error
- type WazeroConfig
- type WazeroNewRuntime
Constants ¶
const BarPluginAPIVersion = 1
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func WazeroModuleConfig ¶
func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
func WazeroRuntime ¶
func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
Types ¶
type Bar ¶
go:plugin type=plugin version=1
type BarPlugin ¶
type BarPlugin struct {
// contains filtered or unexported fields
}
func NewBarPlugin ¶
func (*BarPlugin) Load ¶
type Reply ¶
type Reply struct { A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*Reply) GetA ¶
func (*Reply) MarshalToSizedBufferVT ¶
func (*Reply) MarshalToVT ¶
func (*Reply) MarshalVT ¶
func (*Reply) ProtoReflect ¶
func (x *Reply) ProtoReflect() protoreflect.Message
func (*Reply) SizeVT ¶
func (*Reply) UnmarshalVT ¶
type Request ¶
type Request struct { A string `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // contains filtered or unexported fields }
func (*Request) GetA ¶
func (*Request) MarshalToSizedBufferVT ¶
func (*Request) MarshalToVT ¶
func (*Request) MarshalVT ¶
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
func (*Request) SizeVT ¶
func (*Request) UnmarshalVT ¶
type WazeroConfig ¶
type WazeroConfig struct {
// contains filtered or unexported fields
}
type WazeroNewRuntime ¶
func DefaultWazeroRuntime ¶
func DefaultWazeroRuntime() WazeroNewRuntime
Source Files ¶
bar.pb.go bar_host.pb.go bar_options.pb.go bar_vtproto.pb.go
- Version
- v0.8.0
- Published
- Jun 25, 2023
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 day ago –
Tools for package owners.