Documentation ¶ Index ¶ func NotifyProxy(host string, port int) error type Handler func New(log *slog.Logger, bind string, port int, target *url.URL) (h *Handler) func (p *Handler) SendSSE(eventType string, data string) func (p *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NotifyProxy ¶ added in v0.2.663 func NotifyProxy(host string, port int) error Types ¶ type Handler ¶ type Handler struct { URL string Target *url.URL // contains filtered or unexported fields } func New ¶ func New(log *slog.Logger, bind string, port int, target *url.URL) (h *Handler) func (*Handler) SendSSE ¶ func (p *Handler) SendSSE(eventType string, data string) func (*Handler) ServeHTTP ¶ func (p *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.