server

package
v0.0.0-...-1744efc Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIBasePath = "/api"
)

Variables

This section is empty.

Functions

func NewServer

func NewServer(config *config.Config, logger *zap.Logger, sqlDB *sql.DB, fiberApp *fiber.App) (*server, error)

Types

type Server

type Server interface {
	Initialize() error
	Start() error
	Shutdown(ctx context.Context) error
}

Server represents the HTTP server interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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