net

package
v0.0.0-...-379397d Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteEvent

type RemoteEvent struct {
	APIEndpoint string
	Token       string
	// contains filtered or unexported fields
}

func NewRemoteEvent

func NewRemoteEvent(apiEndpoint string) RemoteEvent

func (RemoteEvent) Trigger

func (remoteEvent RemoteEvent) Trigger(event []byte, payload []byte)

func (RemoteEvent) TriggerAsync

func (remoteEvent RemoteEvent) TriggerAsync(event string, payload []byte)

Jump to

Keyboard shortcuts

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