server

package
v0.0.0-...-92d8f0c Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 New

func New(cfg config.Config, db *pgxpool.Pool, logger zerolog.Logger) *Server

func (*Server) MountMiddleware

func (s *Server) MountMiddleware()

func (*Server) MountRoutes

func (s *Server) MountRoutes()

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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