Documentation
¶
Overview ¶
Package mailbox provides experimental mailbox device helpers.
It is intended to wrap private mailbox device configuration and attachment APIs for host-guest side channels that do not fit existing console or vsock abstractions.
The package should begin with configuration and validation helpers before growing any higher-level messaging abstractions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAttachment ¶
func NewAttachment() (pvz.VZMailboxDeviceAttachment, error)
NewAttachment creates a mailbox attachment object.
func NewConfig ¶
func NewConfig(cfg Config) (pvz.VZMailboxDeviceConfiguration, error)
NewConfig creates a mailbox device configuration and applies cfg.
func Validate ¶
func Validate(cfg pvz.VZMailboxDeviceConfiguration) error
Validate checks the mailbox configuration before use.
Types ¶
type Config ¶
type Config struct {
Attachment objectivec.IObject
}
Config describes a mailbox device configuration.
Click to show internal directories.
Click to hide internal directories.