Versions in this module Expand all Collapse all v0 v0.0.1 Aug 14, 2022 Changes in this version + const DefPort + type Option func(s *Server) + func WithAPI(enabled bool, apiKey string, addr string) Option + func WithPreview(enabled bool, storage *templatemanager.EmailStorage) Option + type Server struct + func NewServer(log logging.Logger, options ...Option) *Server + func (s *Server) HasTemplateName(templateName string) error + func (s *Server) Serve(ctx context.Context, queue queue.Interface) error