remoting

package
v1.4.0-rc8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// EventTypeAdd ...
	EventTypeAdd = iota
	// EventTypeDel ...
	EventTypeDel
	// EventTypeUpdate ...
	EventTypeUpdate
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DataListener

type DataListener interface {
	DataChange(eventType Event) bool //bool is return for interface implement is interesting
}

DataListener ...

type Event

type Event struct {
	Path    string
	Action  EventType
	Content string
}

Event ...

func (Event) String

func (e Event) String() string

type EventType

type EventType int

EventType ...

func (EventType) String

func (t EventType) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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