emailserver

package
v0.0.0-...-b1c395d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateController

type CreateController struct {
	beego.Controller
}

func (*CreateController) Post

func (c *CreateController) Post()

@Title create @Description create the email server configuration @Param body body guirestapi.system.notification.emailserver.EmailServerSMTP true "body for email server configuration" @Success 200 {string} {} @Failure 404 error reason @router / [post]

type DeleteController

type DeleteController struct {
	beego.Controller
}

func (*DeleteController) Delete

func (c *DeleteController) Delete()

@Title delete @Description delete the email server configuration @Param name path string true "The name of email server configuration" @Success 200 {string} {} @Failure 404 error reason @router /:name [delete]

type EmailServerSMTP

type EmailServerSMTP struct {
	Name     string
	Account  string
	Password string
	Host     string
	Port     int
}

type ListController

type ListController struct {
	beego.Controller
}

func (*ListController) Get

func (c *ListController) Get()

@Title get @Description get all email server configuratons @Success 200 {string} []EmailServerSMTP @Failure 404 error reason @router / [get]

Jump to

Keyboard shortcuts

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