handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler handles registering/un-registering log for monitoring.

func New

func New(store logMonitorStore, logResolver logResolver) *Handler

New creates new proof handler.

func (*Handler) Accept

func (h *Handler) Accept(actor *url.URL) error

Accept will get actor's log to the list of logs to be monitored by log monitoring service.

func (*Handler) Undo

func (h *Handler) Undo(actor *url.URL) error

Undo will deactivate actor's log. It will remove actor's log from the list of logs to be monitored by log monitoring service.

Jump to

Keyboard shortcuts

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