eventghostnetwork

package
v0.0.0-...-f8c32d9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(ctx context.Context, passwords []string, events eventListener) error

you can give multiple passwords to differentiate between multiple computers

Types

type EventghostConnection

type EventghostConnection struct {
	// contains filtered or unexported fields
}

func NewEventghostConnection

func NewEventghostConnection(addr string, secret string, logger *log.Logger) *EventghostConnection

func (*EventghostConnection) Send

func (e *EventghostConnection) Send(event string, payload []string) error

Jump to

Keyboard shortcuts

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