fschanges

package
v0.0.0-...-1635d1c Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package fschanges provides HTTP server that streams change events on a filesystem.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventServer

type EventServer struct {
	// contains filtered or unexported fields
}

func New

func New(dir string, opts ...Option) *EventServer

func (*EventServer) ServeHTTP

func (es *EventServer) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithExcludeDirs

func WithExcludeDirs(dirs ...string) Option

Jump to

Keyboard shortcuts

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