Documentation ¶
Overview ¶
Package native provides an API for Native Messaging for Chrome extensions.
See https://developer.chrome.com/apps/nativeMessaging for more details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Accept ¶
func Accept() io.ReadWriter
Accept accepts a single client connection.
Notes that communication is done via stdio/stdout, thus an application should not read/write any data to/from these streams.
func RecvBinary ¶
RecvBinary receives a single binary message.
The format of the binary messages is not defined in any spec, thus a custom message format is used to transfer binary data.
func SendBinary ¶
SendBinary sends a single binary message.
The format of the binary messages is not defined in any spec, thus a custom message format is used to transfer binary data.
Types ¶
This section is empty.