package
0.0.0-20230215061254-6e903284d096
Repository: https://github.com/leosocy/intelliproxy.git
Documentation: pkg.go.dev

# Functions

NewInMemoryBackend returns new InMemoryBackend with default configurations.
No description provided by the author
WithNotifier returns a notifiable backend with notifier.

# Constants

These are the generalized backend operations that can trigger a notification.
These are the generalized backend operations that can trigger a notification.
These are the generalized backend operations that can trigger a notification.

# Variables

Errors occur when using backend.
Errors occur when using backend.
Errors occur when using backend.
Errors occur when using backend.

# Structs

Event represents a single backend notification.
InMemoryBackend is a simple local in memory backend.
InsertionWatcher only interested in the new proxy inserted event, and will notify when the proxy passed filtered if filters set.

# Interfaces

Backend is an interface that store and manipulate proxies.
NotifyBackend is an interface that notify when data changes in backend.

# Type aliases

Iterator is the function which will be call for each proxy in backend.
Op describes a set of backend operations.