webhook

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func (*Controller) DispatchRequest

func (c *Controller) DispatchRequest(analysis *horusec.Analysis) error

type Interface

type Interface interface {
	DispatchRequest(analysis *horusec.Analysis) error
}

func NewWebhookController

func NewWebhookController(databaseRead relational.InterfaceRead) Interface

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) DispatchRequest

func (m *Mock) DispatchRequest(_ *horusec.Analysis) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳