Documentation ¶
Index ¶
- Constants
- Variables
- func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
- func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
- type DiffReply
- func (x *DiffReply) GetDuration() *durationpb.Duration
- func (m *DiffReply) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DiffReply) MarshalToVT(dAtA []byte) (int, error)
- func (m *DiffReply) MarshalVT() (dAtA []byte, err error)
- func (x *DiffReply) ProtoReflect() protoreflect.Message
- func (m *DiffReply) SizeVT() (n int)
- func (m *DiffReply) UnmarshalVT(dAtA []byte) error
- type DiffRequest
- func (x *DiffRequest) GetEnd() *timestamppb.Timestamp
- func (x *DiffRequest) GetStart() *timestamppb.Timestamp
- func (x *DiffRequest) GetValue() *structpb.Value
- func (m *DiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DiffRequest) MarshalToVT(dAtA []byte) (int, error)
- func (m *DiffRequest) MarshalVT() (dAtA []byte, err error)
- func (x *DiffRequest) ProtoReflect() protoreflect.Message
- func (m *DiffRequest) SizeVT() (n int)
- func (m *DiffRequest) UnmarshalVT(dAtA []byte) error
- type WazeroConfig
- type WazeroNewRuntime
- type WellKnown
- type WellKnownPlugin
Constants ¶
View Source
const WellKnownPluginAPIVersion = 1
Variables ¶
Functions ¶
func WazeroModuleConfig ¶
func WazeroModuleConfig(moduleConfig wazero.ModuleConfig) wazeroConfigOption
func WazeroRuntime ¶
func WazeroRuntime(newRuntime WazeroNewRuntime) wazeroConfigOption
Types ¶
type DiffReply ¶
type DiffReply struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*DiffReply) GetDuration ¶
func (x *DiffReply) GetDuration() *durationpb.Duration
func (*DiffReply) MarshalToSizedBufferVT ¶
func (*DiffReply) ProtoReflect ¶
func (x *DiffReply) ProtoReflect() protoreflect.Message
func (*DiffReply) UnmarshalVT ¶
type DiffRequest ¶
type DiffRequest struct { Value *structpb.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"` End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"` // contains filtered or unexported fields }
func (*DiffRequest) GetEnd ¶
func (x *DiffRequest) GetEnd() *timestamppb.Timestamp
func (*DiffRequest) GetStart ¶
func (x *DiffRequest) GetStart() *timestamppb.Timestamp
func (*DiffRequest) GetValue ¶
func (x *DiffRequest) GetValue() *structpb.Value
func (*DiffRequest) MarshalToSizedBufferVT ¶
func (m *DiffRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DiffRequest) MarshalToVT ¶
func (m *DiffRequest) MarshalToVT(dAtA []byte) (int, error)
func (*DiffRequest) MarshalVT ¶
func (m *DiffRequest) MarshalVT() (dAtA []byte, err error)
func (*DiffRequest) ProtoReflect ¶
func (x *DiffRequest) ProtoReflect() protoreflect.Message
func (*DiffRequest) SizeVT ¶
func (m *DiffRequest) SizeVT() (n int)
func (*DiffRequest) UnmarshalVT ¶
func (m *DiffRequest) UnmarshalVT(dAtA []byte) error
type WazeroConfig ¶
type WazeroConfig struct {
// contains filtered or unexported fields
}
type WazeroNewRuntime ¶
func DefaultWazeroRuntime ¶
func DefaultWazeroRuntime() WazeroNewRuntime
type WellKnown ¶
type WellKnown interface {
Diff(context.Context, *DiffRequest) (*DiffReply, error)
}
The greeting service definition. go:plugin type=plugin
type WellKnownPlugin ¶
type WellKnownPlugin struct {
// contains filtered or unexported fields
}
func NewWellKnownPlugin ¶
func NewWellKnownPlugin(ctx context.Context, opts ...wazeroConfigOption) (*WellKnownPlugin, error)
Click to show internal directories.
Click to hide internal directories.