settings

package
v0.0.1-dev-a510d99 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Handlers = []api.Handler{
	{
		Version: api.V1,
		Method:  "GET",
		Path:    "/settings",
		Func:    getSetting,
	},
	{
		Version: api.V1,
		Method:  "POST",
		Path:    "/settings/emailSenders",
		Func:    createEmailSender,
	},
	{
		Version: api.V1,
		Method:  "GET",
		Path:    "/settings/emailSenders",
		Func:    getEmailSenders,
	},
	{
		Version: api.V1,
		Method:  "PUT",
		Path:    "/settings/emailSenders",
		Func:    updateEmailSender,
	},
	{
		Version: api.V1,
		Method:  "DELETE",
		Path:    "/settings/emailSenders",
		Func:    deleteEmailSender,
	},
	{
		Version: api.V1,
		Method:  "POST",
		Path:    "/settings/emailRecipients",
		Func:    createEmailRecipient,
	},
	{
		Version: api.V1,
		Method:  "GET",
		Path:    "/settings/emailRecipients",
		Func:    getEmailRecipients,
	},
	{
		Version: api.V1,
		Method:  "PUT",
		Path:    "/settings/emailRecipients/:id",
		Func:    updateEmailRecipient,
	},
	{
		Version: api.V1,
		Method:  "DELETE",
		Path:    "/settings/emailRecipients/:id",
		Func:    deleteEmailRecipient,
	},
	{
		Version: api.V1,
		Method:  "POST",
		Path:    "/settings/slackWebhooks",
		Func:    createSlackWebhook,
	},
	{
		Version: api.V1,
		Method:  "GET",
		Path:    "/settings/slackWebhooks",
		Func:    getSlackWebhooks,
	},
	{
		Version: api.V1,
		Method:  "PUT",
		Path:    "/settings/slackWebhooks/:id",
		Func:    updateSlackWebhook,
	},
	{
		Version: api.V1,
		Method:  "DELETE",
		Path:    "/settings/slackWebhooks/:id",
		Func:    deleteSlackWebhook,
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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