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

16 lines
346 B
Go

package ipc
import (
"github.com/quexten/goldwarden/cli/ipc/messages"
)
func ParsedPayload(m messages.IPCMessage) interface{} {
payload := messages.ParsePayload(m)
return payload
}
func IPCMessageFromPayload(payload interface{}) (messages.IPCMessage, error) {
message, err := messages.IPCMessageFromPayload(payload)
return message, err
}