server

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2025 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PORT = os.Getenv("DB_PORT")
	HOST = os.Getenv("DB_HOST")
)

Functions

func NewServer

func NewServer(PORT, DBName string) *http.Server

Types

type Server

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

func (*Server) RegisterRoutes

func (s *Server) RegisterRoutes() http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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