service

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListenAndServe

func ListenAndServe(address string, cb Callbacks) (io.Closer, error)

Types

type Callbacks

type Callbacks interface {
	FileChanged(FileChangedRequest) error
}

type FileChangedRequest

type FileChangedRequest struct {
	HandlerName string
	RootDir     string
	Change      watchman.FileChange
}

type FileChangedResponse

type FileChangedResponse struct {
}

Jump to

Keyboard shortcuts

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