Versions in this module Expand all Collapse all v0 v0.6.0 Apr 8, 2025 Changes in this version + func New() types.Plugin + type Config struct + Envs map[string]string + File string + func (cfg *Config) ProcessDefault() + func (cfg *Config) Validate() error + type LogLevel int32 + const LogLveDebug + const LogLveError + const LogLveInfo + const LogLveWarn + type Status int32 + const StatusBadArgument + const StatusInternalFailure + const StatusInvalidJSON + const StatusInvalidMemoryAccess + const StatusOk + func GetRequestJSON(ctx context.Context, m api.Module, jsonPtr, jsonSizePtr uint32) Status + func Log(ctx context.Context, m api.Module, logLevel, strValue, strSize uint32) Status + func SetRequestJSON(ctx context.Context, m api.Module, jsonPtr, jsonSize uint32) Status + type WasmPlugin struct + func (p *WasmPlugin) Config() types.PluginConfig + func (p *WasmPlugin) Execute(req *types.Request, _ *types.Context) error v0.6.0-rc1 Mar 31, 2025