xpc

package
v1.0.121 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeData

func EncodeData(w io.Writer, body map[string]interface{}) error

EncodeData creates a RemoteXPC message with the data flag set, if data is present (an empty dictionary is considered to be no data)

Types

type Message

type Message struct {
	Flags uint32
	Body  map[string]interface{}
}

func DecodeMessage

func DecodeMessage(r io.Reader) (Message, error)

DecodeMessage expects a full RemoteXPC message and decodes the message body into a map

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL