sondages

package
v0.0.0-...-151ce6e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EndpointSondages = "/sondages/:key"
)

Variables

This section is empty.

Functions

func PageSondages

func PageSondages(c echo.Context) error

Types

type Controller

type Controller struct {
	shared.Controller
}

func (Controller) LoadSondages

func (ct Controller) LoadSondages(c echo.Context) error

func (Controller) Notifie

func (ct Controller) Notifie(host string, sondage rd.Sondage) error

Notifie envoie un mail sur ajout ou création d'une réponse à un sondage.

type SondageDetails

type SondageDetails struct {
	rawdata.Sondage

	Camp        string `json:"camp"`
	Responsable string `json:"responsable"`
	Mail        string `json:"mail"`
}

Jump to

Keyboard shortcuts

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