Documentation ¶
Index ¶
- type Server
- func (s *Server) IncomingLunchtimeEmail(c echo.Context) error
- func (s *Server) IncomingSaturdayEmail(c echo.Context) error
- func (s *Server) Index(c echo.Context) error
- func (s *Server) Lunchtime(c echo.Context) error
- func (s *Server) LunchtimeSubmit(c echo.Context) error
- func (s *Server) RegisterRoutes()
- func (s *Server) Start() error
- func (s *Server) Subscribe(c echo.Context) error
- type SubscriptionRequest
- type Template
- type TemplateData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(e *echo.Echo, rootPath string, conf config.Config, outbox mail.OutboxInt, db s3db.S3DBInt, saturdayDisco *saturdaydisco.SaturdayDisco, lunchtimeDisco *lunchtimedisco.LunchtimeDisco) *Server
func (*Server) IncomingLunchtimeEmail ¶
func (*Server) IncomingSaturdayEmail ¶
func (*Server) LunchtimeSubmit ¶
func (*Server) RegisterRoutes ¶
func (s *Server) RegisterRoutes()
type SubscriptionRequest ¶
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func NewTemplateRenderer ¶
type TemplateData ¶
type TemplateData struct { Saturday saturdaydisco.TemplateData Lunchtime lunchtimedisco.TemplateData }
Click to show internal directories.
Click to hide internal directories.