mirror of
https://github.com/quexten/goldwarden.git
synced 2024-12-25 20:33:29 +03:00
16 lines
342 B
Go
16 lines
342 B
Go
package ipc
|
|
|
|
import (
|
|
"github.com/quexten/goldwarden/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
|
|
}
|