hooks

package
v0.41.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HookAttr

func HookAttr(hooks map[string]map[string]interface{}, hook string, attr string) (interface{}, error)

func HookAttrBool

func HookAttrBool(hooks map[string]map[string]interface{}, hook string, attr string) (bool, error)

func HookAttrString

func HookAttrString(hooks map[string]map[string]interface{}, hook string, attr string) (string, error)

Types

type Hooks

type Hooks struct {
	Hooks map[string]map[string]interface{}
}

Hooks carries workflow and activity dependencies.

func NewHooks

func NewHooks(hooks map[string]map[string]interface{}) *Hooks

NewHooks returns a pointer to a new Hooks.

Jump to

Keyboard shortcuts

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