server

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 19 Imported by: 0

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.

func (*Server) Run added in v1.3.0

func (s *Server) Run()

Jump to

Keyboard shortcuts

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