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

16 lines
342 B
Go
Raw Normal View History

2023-07-17 03:23:26 +02:00
package ipc
import (
2023-09-20 03:05:44 +02:00
"github.com/quexten/goldwarden/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
}