messaging

package
v0.0.0-...-b87ce86 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendMessage

func SendMessage(writer io.Writer, message string) (err error)

SendMessage sends a to a connected browser extention

Types

type Message

type Message struct {
	URL    string `json:"jnlp,omitempty"`
	Status string `json:"status,omitempty"`
}

func GetMessage

func GetMessage(reader io.Reader) (message *Message, err error)

GetMessage gets a message from a connected browser extention

Jump to

Keyboard shortcuts

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