types

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.1.2

type Client struct {
	ID       *time.ActorID
	Metadata map[string]string
}

Client represents the Client that communicates with the Agent.

type EventType

type EventType string

EventType represents the event that the Agent delivers to the client.

const (
	// DocumentsChangeEvent is an event indicating that documents are being
	// modified by a change.
	DocumentsChangeEvent EventType = "documents-change"

	// DocumentsWatchedEvent is an event that occurs when documents are watched
	// by other clients.
	DocumentsWatchedEvent EventType = "documents-watched"

	// DocumentsUnwatchedEvent is an event that occurs when documents are
	// unwatched by other clients.
	DocumentsUnwatchedEvent EventType = "documents-unwatched"
)

Jump to

Keyboard shortcuts

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