Documentation
¶
Overview ¶
SPDX-License-Identifier: AGPL-3.0-or-later
Index ¶
- type Server
- func (s *Server) GetAddr() string
- func (s *Server) GetAdminEmails() []string
- func (s *Server) GetAuthService() *auth.OauthService
- func (s *Server) GetDB() *sql.DB
- func (s *Server) GetEmailSender() email.Sender
- func (s *Server) GetTemplates() *template.Template
- func (s *Server) RegisterRoutes(fn func(r *chi.Mux))
- func (s *Server) Router() *chi.Mux
- func (s *Server) Shutdown(ctx context.Context) error
- func (s *Server) Start() error
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 (*Server) GetAdminEmails ¶
func (*Server) GetAuthService ¶
func (s *Server) GetAuthService() *auth.OauthService
func (*Server) GetEmailSender ¶ added in v1.1.3
func (*Server) GetTemplates ¶
func (*Server) RegisterRoutes ¶
Click to show internal directories.
Click to hide internal directories.