Help us shape the future of Go! Take the 2026 Go Developer Survey

contract

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package contract wires the notification plugin's deep-link settings page into the forge-dashboard contract registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(
	d *dispatcher.Dispatcher,
	reg contract.Registry,
	wreg contract.WardenRegistry,
	deps Deps,
) error

Types

type Deps

type Deps struct {
	Engine   *authsome.Engine
	Manager  func() bridge.HeraldTemplateManager
	Sender   func() bridge.Herald
	Mappings func() []MappingSummary
}

type MappingSummary

type MappingSummary struct {
	Action   string   `json:"action"`
	Template string   `json:"template"`
	Channels []string `json:"channels"`
	Enabled  bool     `json:"enabled"`
}

Jump to

Keyboard shortcuts

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