goldwarden-vaultwarden-bitw.../cli/ipc/ipc.go

16 lines
346 B
Go
Raw Permalink Normal View History

2023-07-17 03:23:26 +02:00
package ipc
import (
2024-05-04 01:06:24 +02:00
"github.com/quexten/goldwarden/cli/ipc/messages"
2023-07-17 03:23:26 +02:00
)
2023-09-20 03:05:44 +02:00
func ParsedPayload(m messages.IPCMessage) interface{} {
payload := messages.ParsePayload(m)
return payload
}
2023-09-20 03:05:44 +02:00
func IPCMessageFromPayload(payload interface{}) (messages.IPCMessage, error) {
message, err := messages.IPCMessageFromPayload(payload)
return message, err
}