Documentation
¶
Index ¶
- Constants
- Variables
- func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
- func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
- type ACPContainer
- func (*ACPContainer) Descriptor() ([]byte, []int)deprecated
- func (x *ACPContainer) GetContent() []byte
- func (x *ACPContainer) GetMessageId() string
- func (x *ACPContainer) GetResponseFor() string
- func (x *ACPContainer) GetTypeId() int32
- func (m *ACPContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ACPContainer) MarshalToVT(dAtA []byte) (int, error)
- func (m *ACPContainer) MarshalVT() (dAtA []byte, err error)
- func (*ACPContainer) ProtoMessage()
- func (x *ACPContainer) ProtoReflect() protoreflect.Message
- func (x *ACPContainer) Reset()
- func (m *ACPContainer) SizeVT() (n int)
- func (x *ACPContainer) String() string
- func (m *ACPContainer) UnmarshalVT(dAtA []byte) error
- type ACPContainerList
- func (*ACPContainerList) Descriptor() ([]byte, []int)deprecated
- func (x *ACPContainerList) GetContainers() []*ACPContainer
- func (m *ACPContainerList) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ACPContainerList) MarshalToVT(dAtA []byte) (int, error)
- func (m *ACPContainerList) MarshalVT() (dAtA []byte, err error)
- func (*ACPContainerList) ProtoMessage()
- func (x *ACPContainerList) ProtoReflect() protoreflect.Message
- func (x *ACPContainerList) Reset()
- func (m *ACPContainerList) SizeVT() (n int)
- func (x *ACPContainerList) String() string
- func (m *ACPContainerList) UnmarshalVT(dAtA []byte) error
- type ACPPlugin
- type ACPPluginPlugin
- type LogMessage
- func (*LogMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LogMessage) GetFields() map[string]string
- func (x *LogMessage) GetMessage() string
- func (m *LogMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *LogMessage) MarshalToVT(dAtA []byte) (int, error)
- func (m *LogMessage) MarshalVT() (dAtA []byte, err error)
- func (*LogMessage) ProtoMessage()
- func (x *LogMessage) ProtoReflect() protoreflect.Message
- func (x *LogMessage) Reset()
- func (m *LogMessage) SizeVT() (n int)
- func (x *LogMessage) String() string
- func (m *LogMessage) UnmarshalVT(dAtA []byte) error
- type Logging
- type WazeroConfig
- type WazeroNewRuntime
Constants ¶
View Source
const ACPPluginPluginAPIVersion = 1
Variables ¶
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_abyss_proto protoreflect.FileDescriptor
Functions ¶
func WazeroModuleConfig ¶
func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
func WazeroRuntime ¶
func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
Types ¶
type ACPContainer ¶
type ACPContainer struct {
TypeId int32 `protobuf:"varint,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
ResponseFor string `protobuf:"bytes,3,opt,name=response_for,json=responseFor,proto3" json:"response_for,omitempty"`
Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}
func (*ACPContainer) Descriptor
deprecated
func (*ACPContainer) Descriptor() ([]byte, []int)
Deprecated: Use ACPContainer.ProtoReflect.Descriptor instead.
func (*ACPContainer) GetContent ¶
func (x *ACPContainer) GetContent() []byte
func (*ACPContainer) GetMessageId ¶
func (x *ACPContainer) GetMessageId() string
func (*ACPContainer) GetResponseFor ¶
func (x *ACPContainer) GetResponseFor() string
func (*ACPContainer) GetTypeId ¶
func (x *ACPContainer) GetTypeId() int32
func (*ACPContainer) MarshalToSizedBufferVT ¶
func (m *ACPContainer) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ACPContainer) MarshalToVT ¶
func (m *ACPContainer) MarshalToVT(dAtA []byte) (int, error)
func (*ACPContainer) MarshalVT ¶
func (m *ACPContainer) MarshalVT() (dAtA []byte, err error)
func (*ACPContainer) ProtoMessage ¶
func (*ACPContainer) ProtoMessage()
func (*ACPContainer) ProtoReflect ¶
func (x *ACPContainer) ProtoReflect() protoreflect.Message
func (*ACPContainer) Reset ¶
func (x *ACPContainer) Reset()
func (*ACPContainer) SizeVT ¶
func (m *ACPContainer) SizeVT() (n int)
func (*ACPContainer) String ¶
func (x *ACPContainer) String() string
func (*ACPContainer) UnmarshalVT ¶
func (m *ACPContainer) UnmarshalVT(dAtA []byte) error
type ACPContainerList ¶
type ACPContainerList struct {
Containers []*ACPContainer `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
// contains filtered or unexported fields
}
func (*ACPContainerList) Descriptor
deprecated
func (*ACPContainerList) Descriptor() ([]byte, []int)
Deprecated: Use ACPContainerList.ProtoReflect.Descriptor instead.
func (*ACPContainerList) GetContainers ¶
func (x *ACPContainerList) GetContainers() []*ACPContainer
func (*ACPContainerList) MarshalToSizedBufferVT ¶
func (m *ACPContainerList) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ACPContainerList) MarshalToVT ¶
func (m *ACPContainerList) MarshalToVT(dAtA []byte) (int, error)
func (*ACPContainerList) MarshalVT ¶
func (m *ACPContainerList) MarshalVT() (dAtA []byte, err error)
func (*ACPContainerList) ProtoMessage ¶
func (*ACPContainerList) ProtoMessage()
func (*ACPContainerList) ProtoReflect ¶
func (x *ACPContainerList) ProtoReflect() protoreflect.Message
func (*ACPContainerList) Reset ¶
func (x *ACPContainerList) Reset()
func (*ACPContainerList) SizeVT ¶
func (m *ACPContainerList) SizeVT() (n int)
func (*ACPContainerList) String ¶
func (x *ACPContainerList) String() string
func (*ACPContainerList) UnmarshalVT ¶
func (m *ACPContainerList) UnmarshalVT(dAtA []byte) error
type ACPPlugin ¶
type ACPPlugin interface {
HandleMessage(context.Context, *ACPContainer) (*ACPContainerList, error)
}
go:plugin type=plugin
type ACPPluginPlugin ¶
type ACPPluginPlugin struct {
// contains filtered or unexported fields
}
func NewACPPluginPlugin ¶
func NewACPPluginPlugin(ctx context.Context, opts ...wazeroConfigOption) (*ACPPluginPlugin, error)
type LogMessage ¶
type LogMessage struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Fields map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*LogMessage) Descriptor
deprecated
func (*LogMessage) Descriptor() ([]byte, []int)
Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.
func (*LogMessage) GetFields ¶
func (x *LogMessage) GetFields() map[string]string
func (*LogMessage) GetMessage ¶
func (x *LogMessage) GetMessage() string
func (*LogMessage) MarshalToSizedBufferVT ¶
func (m *LogMessage) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*LogMessage) MarshalToVT ¶
func (m *LogMessage) MarshalToVT(dAtA []byte) (int, error)
func (*LogMessage) MarshalVT ¶
func (m *LogMessage) MarshalVT() (dAtA []byte, err error)
func (*LogMessage) ProtoMessage ¶
func (*LogMessage) ProtoMessage()
func (*LogMessage) ProtoReflect ¶
func (x *LogMessage) ProtoReflect() protoreflect.Message
func (*LogMessage) Reset ¶
func (x *LogMessage) Reset()
func (*LogMessage) SizeVT ¶
func (m *LogMessage) SizeVT() (n int)
func (*LogMessage) String ¶
func (x *LogMessage) String() string
func (*LogMessage) UnmarshalVT ¶
func (m *LogMessage) UnmarshalVT(dAtA []byte) error
type Logging ¶
type Logging interface {
// Debug log
Debug(context.Context, *LogMessage) (*emptypb.Empty, error)
// Info log
Info(context.Context, *LogMessage) (*emptypb.Empty, error)
// Warn log
Warn(context.Context, *LogMessage) (*emptypb.Empty, error)
// Error log
Error(context.Context, *LogMessage) (*emptypb.Empty, error)
}
go:plugin type=host
type WazeroConfig ¶
type WazeroConfig struct {
// contains filtered or unexported fields
}
type WazeroNewRuntime ¶
func DefaultWazeroRuntime ¶
func DefaultWazeroRuntime() WazeroNewRuntime
Click to show internal directories.
Click to hide internal directories.