fix dependencies
This commit is contained in:
parent
5974f6eef7
commit
12f83f6286
@ -0,0 +1,130 @@
|
|||||||
|
//go:build !wasm && !wasi && !wasip1 && !wasip2 && !wasm_unknown && !tinygo.wasm
|
||||||
|
|
||||||
|
// Code generated by wadge-bindgen-go DO NOT EDIT
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
gitea_rebus_ninja__lore__wasm___nats___stream___client__gen__wasmcloud__messaging__consumer "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/consumer"
|
||||||
|
gitea_rebus_ninja__lore__wasm___nats___stream___client__gen__wasmcloud__messaging__types "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/types"
|
||||||
|
github_com__bytecodealliance__wasm___tools___go__cm "github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
|
wadge "go.wasmcloud.dev/wadge"
|
||||||
|
"runtime"
|
||||||
|
"unsafe"
|
||||||
|
)
|
||||||
|
|
||||||
|
const _ string = runtime.Compiler
|
||||||
|
|
||||||
|
var _ unsafe.Pointer
|
||||||
|
|
||||||
|
//go:linkname wasmimport_Log gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/logging/logging.wasmimport_Log
|
||||||
|
func wasmimport_Log(level0 uint32, context0 *uint8, context1 uint32, message0 *uint8, message1 uint32) {
|
||||||
|
var __p runtime.Pinner
|
||||||
|
defer __p.Unpin()
|
||||||
|
if __err := wadge.WithCurrentInstance(func(__instance *wadge.Instance) error {
|
||||||
|
return __instance.Call("wasi:logging/logging@0.1.0-draft", "log", func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&level0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(context0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&context1)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(message0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&message1)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}())
|
||||||
|
}); __err != nil {
|
||||||
|
wadge.CurrentErrorHandler()(__err)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
//go:linkname wasmimport_Publish gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/consumer.wasmimport_Publish
|
||||||
|
func wasmimport_Publish(msg0 *uint8, msg1 uint32, msg2 *uint8, msg3 uint32, msg4 uint32, msg5 *uint8, msg6 uint32, result *github_com__bytecodealliance__wasm___tools___go__cm.Result[string, struct{}, string]) {
|
||||||
|
var __p runtime.Pinner
|
||||||
|
defer __p.Unpin()
|
||||||
|
if __err := wadge.WithCurrentInstance(func(__instance *wadge.Instance) error {
|
||||||
|
return __instance.Call("wasmcloud:messaging/consumer@0.2.0", "publish", func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(msg0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&msg1)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(msg2)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&msg3)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&msg4)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(msg5)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&msg6)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(result)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}())
|
||||||
|
}); __err != nil {
|
||||||
|
wadge.CurrentErrorHandler()(__err)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
//go:linkname wasmimport_Request gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/consumer.wasmimport_Request
|
||||||
|
func wasmimport_Request(subject0 *uint8, subject1 uint32, body0 *uint8, body1 uint32, timeoutMs0 uint32, result *github_com__bytecodealliance__wasm___tools___go__cm.Result[gitea_rebus_ninja__lore__wasm___nats___stream___client__gen__wasmcloud__messaging__consumer.BrokerMessageShape, gitea_rebus_ninja__lore__wasm___nats___stream___client__gen__wasmcloud__messaging__types.BrokerMessage, string]) {
|
||||||
|
var __p runtime.Pinner
|
||||||
|
defer __p.Unpin()
|
||||||
|
if __err := wadge.WithCurrentInstance(func(__instance *wadge.Instance) error {
|
||||||
|
return __instance.Call("wasmcloud:messaging/consumer@0.2.0", "request", func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(subject0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&subject1)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(body0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&body1)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(&timeoutMs0)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}(), func() unsafe.Pointer {
|
||||||
|
ptr := unsafe.Pointer(result)
|
||||||
|
__p.Pin(ptr)
|
||||||
|
return ptr
|
||||||
|
}())
|
||||||
|
}); __err != nil {
|
||||||
|
wadge.CurrentErrorHandler()(__err)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
@ -4,7 +4,7 @@
|
|||||||
package stderr
|
package stderr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/streams"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package stdin
|
package stdin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/streams"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package stdout
|
package stdout
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/streams"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package terminalstderr
|
package terminalstderr
|
||||||
|
|
||||||
import (
|
import (
|
||||||
terminaloutput "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/cli/terminal-output"
|
terminaloutput "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/cli/terminal-output"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package terminalstdin
|
package terminalstdin
|
||||||
|
|
||||||
import (
|
import (
|
||||||
terminalinput "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/cli/terminal-input"
|
terminalinput "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/cli/terminal-input"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package terminalstdout
|
package terminalstdout
|
||||||
|
|
||||||
import (
|
import (
|
||||||
terminaloutput "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/cli/terminal-output"
|
terminaloutput "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/cli/terminal-output"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package monotonicclock
|
package monotonicclock
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/poll"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/poll"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package preopens
|
package preopens
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/filesystem/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/filesystem/types"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
wallclock "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/clocks/wall-clock"
|
wallclock "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/clocks/wall-clock"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
wallclock "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/clocks/wall-clock"
|
wallclock "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/clocks/wall-clock"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/streams"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package outgoinghandler
|
package outgoinghandler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/http/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/http/types"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package outgoinghandler
|
package outgoinghandler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/http/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/http/types"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
package types
|
package types
|
||||||
|
|
||||||
import (
|
import (
|
||||||
monotonicclock "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/clocks/monotonic-clock"
|
monotonicclock "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/clocks/monotonic-clock"
|
||||||
ioerror "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/error"
|
ioerror "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/error"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/poll"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/poll"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/streams"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package streams
|
package streams
|
||||||
|
|
||||||
import (
|
import (
|
||||||
ioerror "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/error"
|
ioerror "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/error"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/poll"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/poll"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package instancenetwork
|
package instancenetwork
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package ipnamelookup
|
package ipnamelookup
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/poll"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/poll"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package tcpcreatesocket
|
package tcpcreatesocket
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/tcp"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/tcp"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package tcp
|
package tcp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
package tcp
|
package tcp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
monotonicclock "gitea.rebus.ninja/lore/go-nats-client/gen/wasi/clocks/monotonic-clock"
|
monotonicclock "gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/clocks/monotonic-clock"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/poll"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/poll"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/streams"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/streams"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package udpcreatesocket
|
package udpcreatesocket
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/udp"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/udp"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package udp
|
package udp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package udp
|
package udp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/io/poll"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/io/poll"
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasi/sockets/network"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasi/sockets/network"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package consumer
|
package consumer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasmcloud/messaging/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/types"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package consumer
|
package consumer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasmcloud/messaging/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/types"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
package handler
|
package handler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasmcloud/messaging/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/types"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package handler
|
package handler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasmcloud/messaging/types"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/messaging/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
// BrokerMessage represents the type alias "wasmcloud:messaging/handler@0.2.0#broker-message".
|
// BrokerMessage represents the type alias "wasmcloud:messaging/handler@0.2.0#broker-message".
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package reveal
|
package reveal
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gitea.rebus.ninja/lore/go-nats-client/gen/wasmcloud/secrets/store"
|
"gitea.rebus.ninja/lore/wasm-nats-stream-client/gen/wasmcloud/secrets/store"
|
||||||
"github.com/bytecodealliance/wasm-tools-go/cm"
|
"github.com/bytecodealliance/wasm-tools-go/cm"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
51
go.mod
51
go.mod
@ -1,25 +1,26 @@
|
|||||||
module gitea.rebus.ninja/lore/go-nats-client
|
module gitea.rebus.ninja/lore/wasm-nats-stream-client
|
||||||
|
|
||||||
go 1.23.0
|
go 1.23.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/bytecodealliance/wasm-tools-go v0.3.2
|
gitea.rebus.ninja/lore/go-nats-client v0.0.0-20241214003044-5974f6eef794
|
||||||
go.wasmcloud.dev/component v0.0.5
|
github.com/bytecodealliance/wasm-tools-go v0.3.2
|
||||||
go.wasmcloud.dev/wadge v0.7.0
|
go.wasmcloud.dev/component v0.0.5
|
||||||
)
|
go.wasmcloud.dev/wadge v0.7.0
|
||||||
|
)
|
||||||
require (
|
|
||||||
github.com/coreos/go-semver v0.3.1 // indirect
|
require (
|
||||||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
github.com/coreos/go-semver v0.3.1 // indirect
|
||||||
github.com/klauspost/compress v1.17.11 // indirect
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
|
||||||
github.com/opencontainers/go-digest v1.0.0 // indirect
|
github.com/klauspost/compress v1.17.11 // indirect
|
||||||
github.com/regclient/regclient v0.8.0 // indirect
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
||||||
github.com/sirupsen/logrus v1.9.3 // indirect
|
github.com/regclient/regclient v0.8.0 // indirect
|
||||||
github.com/ulikunitz/xz v0.5.12 // indirect
|
github.com/sirupsen/logrus v1.9.3 // indirect
|
||||||
github.com/urfave/cli/v3 v3.0.0-beta1 // indirect
|
github.com/ulikunitz/xz v0.5.12 // indirect
|
||||||
go.bytecodealliance.org v0.4.1 // indirect
|
github.com/urfave/cli/v3 v3.0.0-beta1 // indirect
|
||||||
golang.org/x/mod v0.22.0 // indirect
|
go.bytecodealliance.org v0.4.1 // indirect
|
||||||
golang.org/x/sync v0.10.0 // indirect
|
golang.org/x/mod v0.22.0 // indirect
|
||||||
golang.org/x/sys v0.28.0 // indirect
|
golang.org/x/sync v0.10.0 // indirect
|
||||||
golang.org/x/tools v0.28.0 // indirect
|
golang.org/x/sys v0.28.0 // indirect
|
||||||
)
|
golang.org/x/tools v0.28.0 // indirect
|
||||||
|
)
|
||||||
|
106
go.sum
106
go.sum
@ -1,52 +1,54 @@
|
|||||||
github.com/bytecodealliance/wasm-tools-go v0.3.2 h1:LKni9PS8yCG5/A79L8tcTKthgf7WN5RZD83W1m6wEE0=
|
gitea.rebus.ninja/lore/go-nats-client v0.0.0-20241214003044-5974f6eef794 h1:9aKUG/OGg5CW8EOy1PnYm6vjOFEPRhT2j8QcQsl0tSU=
|
||||||
github.com/bytecodealliance/wasm-tools-go v0.3.2/go.mod h1:fdysX1+SiPxcIhdpg8TLhoxz23k28/5cQ0/L9J4mgig=
|
gitea.rebus.ninja/lore/go-nats-client v0.0.0-20241214003044-5974f6eef794/go.mod h1:VfOt4aVA8SlVMA2lqiBSw42jioWz+VjIztb2pCzZfFc=
|
||||||
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
|
github.com/bytecodealliance/wasm-tools-go v0.3.2 h1:LKni9PS8yCG5/A79L8tcTKthgf7WN5RZD83W1m6wEE0=
|
||||||
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
|
github.com/bytecodealliance/wasm-tools-go v0.3.2/go.mod h1:fdysX1+SiPxcIhdpg8TLhoxz23k28/5cQ0/L9J4mgig=
|
||||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
|
||||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
|
||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 h1:UhxFibDNY/bfvqU5CAUmr9zpesgbU6SWc8/B4mflAE4=
|
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||||
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE=
|
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||||
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 h1:UhxFibDNY/bfvqU5CAUmr9zpesgbU6SWc8/B4mflAE4=
|
||||||
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE=
|
||||||
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
|
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
|
||||||
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
|
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
|
||||||
github.com/olareg/olareg v0.1.1 h1:Ui7q93zjcoF+U9U71sgqgZWByDoZOpqHitUXEu2xV+g=
|
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc=
|
||||||
github.com/olareg/olareg v0.1.1/go.mod h1:w8NP4SWrHHtxsFaUiv1lnCnYPm4sN1seCd2h7FK/dc0=
|
github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0=
|
||||||
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
github.com/olareg/olareg v0.1.1 h1:Ui7q93zjcoF+U9U71sgqgZWByDoZOpqHitUXEu2xV+g=
|
||||||
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
|
github.com/olareg/olareg v0.1.1/go.mod h1:w8NP4SWrHHtxsFaUiv1lnCnYPm4sN1seCd2h7FK/dc0=
|
||||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
|
||||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
|
||||||
github.com/regclient/regclient v0.8.0 h1:xNAMDlADcyMvFAlGXoqDOxlSUBG4mqWBFgjQqVTP8Og=
|
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||||
github.com/regclient/regclient v0.8.0/go.mod h1:h9+Y6dBvqBkdlrj6EIhbTOv0xUuIFl7CdI1bZvEB42g=
|
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||||
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
|
github.com/regclient/regclient v0.8.0 h1:xNAMDlADcyMvFAlGXoqDOxlSUBG4mqWBFgjQqVTP8Og=
|
||||||
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
|
github.com/regclient/regclient v0.8.0/go.mod h1:h9+Y6dBvqBkdlrj6EIhbTOv0xUuIFl7CdI1bZvEB42g=
|
||||||
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
|
github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
|
||||||
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
|
github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
|
||||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
|
||||||
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
|
||||||
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
|
||||||
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
|
||||||
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
|
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
|
||||||
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
|
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
|
||||||
github.com/urfave/cli/v3 v3.0.0-beta1 h1:6DTaaUarcM0wX7qj5Hcvs+5Dm3dyUTBbEwIWAjcw9Zg=
|
github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=
|
||||||
github.com/urfave/cli/v3 v3.0.0-beta1/go.mod h1:FnIeEMYu+ko8zP1F9Ypr3xkZMIDqW3DR92yUtY39q1Y=
|
github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
|
||||||
go.bytecodealliance.org v0.4.1 h1:Y3Nnz+C061i9Hw4qQlSkZTg3IBTsTLC92+sdh4xCADQ=
|
github.com/urfave/cli/v3 v3.0.0-beta1 h1:6DTaaUarcM0wX7qj5Hcvs+5Dm3dyUTBbEwIWAjcw9Zg=
|
||||||
go.bytecodealliance.org v0.4.1/go.mod h1:jxAxqtTxs+6Q2q6bQnWa/lF+Q+2/LkdbqIgNJYxEmFA=
|
github.com/urfave/cli/v3 v3.0.0-beta1/go.mod h1:FnIeEMYu+ko8zP1F9Ypr3xkZMIDqW3DR92yUtY39q1Y=
|
||||||
go.wasmcloud.dev/component v0.0.5 h1:z9+fq1CJKm/yom33ctd5wfo8TVunm5IaI7EJdY2i9hk=
|
go.bytecodealliance.org v0.4.1 h1:Y3Nnz+C061i9Hw4qQlSkZTg3IBTsTLC92+sdh4xCADQ=
|
||||||
go.wasmcloud.dev/component v0.0.5/go.mod h1:PvVHQ7Xp8D9kZnVB3fm8lqWAcC6Yxd7CI/snXZUAG8E=
|
go.bytecodealliance.org v0.4.1/go.mod h1:jxAxqtTxs+6Q2q6bQnWa/lF+Q+2/LkdbqIgNJYxEmFA=
|
||||||
go.wasmcloud.dev/wadge v0.7.0 h1:eUt0jODh6xQ5HEof1PFSgDp+evrNs+lD1LYCYeRR2Cg=
|
go.wasmcloud.dev/component v0.0.5 h1:z9+fq1CJKm/yom33ctd5wfo8TVunm5IaI7EJdY2i9hk=
|
||||||
go.wasmcloud.dev/wadge v0.7.0/go.mod h1:SMnPSWZFTkXyUX0GJ11mcdc7ZoMITtbAlPLlpvGJd4M=
|
go.wasmcloud.dev/component v0.0.5/go.mod h1:PvVHQ7Xp8D9kZnVB3fm8lqWAcC6Yxd7CI/snXZUAG8E=
|
||||||
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
|
go.wasmcloud.dev/wadge v0.7.0 h1:eUt0jODh6xQ5HEof1PFSgDp+evrNs+lD1LYCYeRR2Cg=
|
||||||
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
go.wasmcloud.dev/wadge v0.7.0/go.mod h1:SMnPSWZFTkXyUX0GJ11mcdc7ZoMITtbAlPLlpvGJd4M=
|
||||||
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
|
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
|
||||||
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
|
||||||
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
|
||||||
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
|
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
|
||||||
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
|
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
|
||||||
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
|
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8=
|
||||||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw=
|
||||||
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
|
Loading…
Reference in New Issue
Block a user