Documentation ¶
Overview ¶
Package server implements the application's server API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Router *chi.Mux Repository services.RepositoryService Email services.EmailService }
Server is the web application's configuration object.
func NewServer ¶ added in v1.3.0
func NewServer(repository services.RepositoryService, email services.EmailService) *Server
NewServer creates a Server.
Click to show internal directories.
Click to hide internal directories.