remoting

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

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