controller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 9 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 New

func New(root string) *Controller

func (*Controller) CeHandler

func (c *Controller) CeHandler(event cloudevents.Event)

func (*Controller) Mux

func (c *Controller) Mux() *http.ServeMux

func (*Controller) RootHandler

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

func (*Controller) WSHandler

func (c *Controller) WSHandler(ws *websocket.Conn)

Jump to

Keyboard shortcuts

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