lhside / chrome-go

Communicate with Chrome extension using native messaging api in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Communicate with Chrome extension using native messaging api in go


Languages

Language:Go 100.0%