Event implements [Resolver] and it is intended to be used as a base Hook event that you can embed in your custom typed event structs.

Example:

  type CustomEvent struct {
hook.Event

SomeField int
}

Hierarchy

  • Event

Methods

Methods

  • Next calls the next hook handler.

    Returns void

Generated using TypeDoc