controller

package
v3.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Endpoints = map[string]*Endpoint{
	getEndpointKey(hook):                     hook,
	getEndpointKey(getStandup):               getStandup,
	getEndpointKey(saveStandup):              saveStandup,
	getEndpointKey(getConfig):                getConfig,
	getEndpointKey(setConfig):                setConfig,
	getEndpointKey(getDefaultTimezone):       getDefaultTimezone,
	getEndpointKey(getActiveStandupChannels): getActiveStandupChannels,
	getEndpointKey(getPluginConfig):          getPluginConfig,
}

Functions

This section is empty.

Types

type Endpoint

type Endpoint struct {
	Path        string
	Method      string
	Execute     func(w http.ResponseWriter, r *http.Request) error
	Middlewares []middleware.Middleware
}

func GetEndpoint

func GetEndpoint(r *http.Request) *Endpoint

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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