protobyss

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

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

go:plugin type=plugin

type ACPPluginInitializeRequest added in v0.0.4

type ACPPluginInitializeRequest struct {
	OnHost bool   `protobuf:"varint,1,opt,name=on_host,json=onHost,proto3" json:"on_host,omitempty"`
	Config []byte `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*ACPPluginInitializeRequest) Descriptor deprecated added in v0.0.4

func (*ACPPluginInitializeRequest) Descriptor() ([]byte, []int)

Deprecated: Use ACPPluginInitializeRequest.ProtoReflect.Descriptor instead.

func (*ACPPluginInitializeRequest) GetConfig added in v0.0.4

func (x *ACPPluginInitializeRequest) GetConfig() []byte

func (*ACPPluginInitializeRequest) GetOnHost added in v0.0.4

func (x *ACPPluginInitializeRequest) GetOnHost() bool

func (*ACPPluginInitializeRequest) MarshalToSizedBufferVT added in v0.0.4

func (m *ACPPluginInitializeRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ACPPluginInitializeRequest) MarshalToVT added in v0.0.4

func (m *ACPPluginInitializeRequest) MarshalToVT(dAtA []byte) (int, error)

func (*ACPPluginInitializeRequest) MarshalVT added in v0.0.4

func (m *ACPPluginInitializeRequest) MarshalVT() (dAtA []byte, err error)

func (*ACPPluginInitializeRequest) ProtoMessage added in v0.0.4

func (*ACPPluginInitializeRequest) ProtoMessage()

func (*ACPPluginInitializeRequest) ProtoReflect added in v0.0.4

func (*ACPPluginInitializeRequest) Reset added in v0.0.4

func (x *ACPPluginInitializeRequest) Reset()

func (*ACPPluginInitializeRequest) SizeVT added in v0.0.4

func (m *ACPPluginInitializeRequest) SizeVT() (n int)

func (*ACPPluginInitializeRequest) String added in v0.0.4

func (x *ACPPluginInitializeRequest) String() string

func (*ACPPluginInitializeRequest) UnmarshalVT added in v0.0.4

func (m *ACPPluginInitializeRequest) UnmarshalVT(dAtA []byte) error

type ACPPluginInitializeResponse added in v0.0.4

type ACPPluginInitializeResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ACPPluginInitializeResponse) Descriptor deprecated added in v0.0.4

func (*ACPPluginInitializeResponse) Descriptor() ([]byte, []int)

Deprecated: Use ACPPluginInitializeResponse.ProtoReflect.Descriptor instead.

func (*ACPPluginInitializeResponse) GetName added in v0.0.4

func (x *ACPPluginInitializeResponse) GetName() string

func (*ACPPluginInitializeResponse) MarshalToSizedBufferVT added in v0.0.4

func (m *ACPPluginInitializeResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ACPPluginInitializeResponse) MarshalToVT added in v0.0.4

func (m *ACPPluginInitializeResponse) MarshalToVT(dAtA []byte) (int, error)

func (*ACPPluginInitializeResponse) MarshalVT added in v0.0.4

func (m *ACPPluginInitializeResponse) MarshalVT() (dAtA []byte, err error)

func (*ACPPluginInitializeResponse) ProtoMessage added in v0.0.4

func (*ACPPluginInitializeResponse) ProtoMessage()

func (*ACPPluginInitializeResponse) ProtoReflect added in v0.0.4

func (*ACPPluginInitializeResponse) Reset added in v0.0.4

func (x *ACPPluginInitializeResponse) Reset()

func (*ACPPluginInitializeResponse) SizeVT added in v0.0.4

func (m *ACPPluginInitializeResponse) SizeVT() (n int)

func (*ACPPluginInitializeResponse) String added in v0.0.4

func (x *ACPPluginInitializeResponse) String() string

func (*ACPPluginInitializeResponse) UnmarshalVT added in v0.0.4

func (m *ACPPluginInitializeResponse) UnmarshalVT(dAtA []byte) error

type ACPPluginPlugin

type ACPPluginPlugin struct {
	// contains filtered or unexported fields
}

func NewACPPluginPlugin

func NewACPPluginPlugin(ctx context.Context, opts ...wazeroConfigOption) (*ACPPluginPlugin, error)

func (*ACPPluginPlugin) Load

func (p *ACPPluginPlugin) Load(ctx context.Context, pluginPath string, hostFunctions Logging) (aCPPlugin, 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

type WazeroNewRuntime func(context.Context) (wazero.Runtime, error)

func DefaultWazeroRuntime

func DefaultWazeroRuntime() WazeroNewRuntime

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL