Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

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

func New

func New(log *log.Logger, db dber) *Hook

func (*Hook) Do

func (h *Hook) Do(space space.Space, content content.Content, ht HookType)

type HookType

type HookType string
const (
	HookNew    HookType = "created"
	HookUpdate HookType = "modified"
	HookDelete HookType = "removed"
)

Source Files