webhooknotif

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Notif(ic business.InternalContext, spec WebhookNotifSpec) (err error)
}

func NewService

func NewService(WebhookSetting *config.WebhookSetting) Service

type WebhookNotifSpec

type WebhookNotifSpec struct {
	WebhookProvider business.WebhookProvider `validate:"required"`
	RepoName        string                   `validate:"required"`
	BranchName      string                   `validate:"required"`
	Author          string                   `validate:"required"`
}

Jump to

Keyboard shortcuts

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