settings

package
v0.0.1-dev-4c4e4f1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 16 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:    listSettings,
		},
		{
			Version: api.V1,
			Method:  "PUT",
			Path:    "/settings/titlePrefix",
			Func:    patchTitlePrefix,
		},
		{
			Version: api.V1,
			Method:  "POST",
			Path:    "/settings/email/senders",
			Func:    createEmailSender,
		},
		{
			Version: api.V1,
			Method:  "POST",
			Path:    "/settings/email/senders/:senderHost",
			Func:    tryEmailSender,
		},
		{
			Version: api.V1,
			Method:  "GET",
			Path:    "/settings/email/senders",
			Func:    listEmailSenders,
		},
		{
			Version: api.V1,
			Method:  "PATCH",
			Path:    "/settings/email/senders/:senderHost",
			Func:    patchEmailSender,
		},
		{
			Version: api.V1,
			Method:  "DELETE",
			Path:    "/settings/email/senders/:senderHost",
			Func:    deleteEmailSender,
		},
		{
			Version: api.V1,
			Method:  "POST",
			Path:    "/settings/email/recipients",
			Func:    createEmailRecipient,
		},
		{
			Version: api.V1,
			Method:  "POST",
			Path:    "/settings/email/recipients/:recipientEmail",
			Func:    tryEmailRecipient,
		},
		{
			Version: api.V1,
			Method:  "GET",
			Path:    "/settings/email/recipients",
			Func:    listEmailRecipients,
		},
		{
			Version: api.V1,
			Method:  "PUT",
			Path:    "/settings/email/recipients/:recipientEmail",
			Func:    patchEmailRecipient,
		},
		{
			Version: api.V1,
			Method:  "DELETE",
			Path:    "/settings/email/recipients/:recipientEmail",
			Func:    deleteEmailRecipient,
		},
		{
			Version: api.V1,
			Method:  "POST",
			Path:    "/settings/slack/channels",
			Func:    createSlackChannel,
		},
		{
			Version: api.V1,
			Method:  "POST",
			Path:    "/settings/slack/channels/:channelName",
			Func:    trySlackChannel,
		},
		{
			Version: api.V1,
			Method:  "GET",
			Path:    "/settings/slack/channels",
			Func:    listSlackChannels,
		},
		{
			Version: api.V1,
			Method:  "PUT",
			Path:    "/settings/slack/channels/:channelName",
			Func:    putSlackChannel,
		},
		{
			Version: api.V1,
			Method:  "DELETE",
			Path:    "/settings/slack/channels/:channelName",
			Func:    deleteSlackChannel,
		},
		{
			Version: api.V1,
			Method:  "PATCH",
			Path:    "/settings/tasks",
			Func:    updateSettingTask,
		},
	}
)

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