src

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplates

func GetTemplates() *template.Template

func Init

func Init(configPath string) error

func InitTemplates

func InitTemplates()

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents the HTTP server

func NewServer

func NewServer(cfg *config.Config, template *template.Template) (*Server, error)

NewServer creates a new HTTP server

func (*Server) Start

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

Start starts the HTTP server and background services

func (*Server) Stop

func (s *Server) Stop() error

Stop gracefully shuts down the server

Directories

Path Synopsis
dao

Jump to

Keyboard shortcuts

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