hook

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnStreamNoneReader

func OnStreamNoneReader(webhook interfaces.Webhook) func(writer http.ResponseWriter, request *http.Request)

func OnStreamNotFound

func OnStreamNotFound(webhook interfaces.Webhook) func(writer http.ResponseWriter, request *http.Request)

func WriteErrorResponse

func WriteErrorResponse(w http.ResponseWriter, edgexErr errors.EdgeX)

Types

type StreamRequest

type StreamRequest struct {
	App    string `json:"app"`
	Schema string `json:"schema"`
	Stream string `json:"stream"`
	Vhost  string `json:"vhost"`
}

Jump to

Keyboard shortcuts

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