/chrome-go

Communicate with Chrome extension using native messaging api in go

Primary LanguageGo

Chrome native messaging host in go

This is a package to communicate with Chrome extension using native messaging api in go.

Install

go install github.com/lhside/chrome-go

Example

Read message from standard input.

msg, err := chrome.Receive(os.Stdin)

Post message to standard output

err := chrome.Post(msg, os.Stdout)

SEE

  1. Native Messaging - Google Chrome