handlers

package
v0.0.0-...-72ca3a2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvroCloudEventReceived

func AvroCloudEventReceived(ctx context.Context, event cloudevents.Event)

AvroCloudEventReceived handles the cloud event post

func CloudEventReceived

func CloudEventReceived(ctx context.Context, event cloudevents.Event)

CloudEventReceived handles the cloud event post

func ErrorHandler

func ErrorHandler(w http.ResponseWriter, r *http.Request, err error, code int)

ErrorHandler handles all app errors

func InitHandlers

func InitHandlers()

InitHandlers initializes OAuth package

func RootHandler

func RootHandler(w http.ResponseWriter, r *http.Request)

RootHandler handles view page

func WSHandler

func WSHandler(ws *websocket.Conn)

WSHandler provides backing service for the UI

Types

This section is empty.

Jump to

Keyboard shortcuts

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