email

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGet

func HandleGet(ctx *fiber.Ctx) *model.Response

HandleGet handles GET requests to the email settings endpoint

func HandlePut

func HandlePut(ctx *fiber.Ctx) *model.Response

HandlePut handles PUT requests to the email settings endpoint, i.e. it updates email settings

Types

type MailSettingsInfoResponse

type MailSettingsInfoResponse struct {
	api.MailSettingsInfoResponse
	TokenUpdate *my.MytokenResponse `json:"token_update,omitempty"`
}

MailSettingsInfoResponse is a type for the response for listing mail settings

func (*MailSettingsInfoResponse) SetTokenUpdate

func (res *MailSettingsInfoResponse) SetTokenUpdate(tokenUpdate *my.MytokenResponse)

SetTokenUpdate implements the pkg.TokenUpdatableResponse interface

Jump to

Keyboard shortcuts

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