server

package
v0.1.694 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(db *sql.DB, version string, verbose bool, output io.Writer, staticPath string) (http.Handler, error)

Types

type Server

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

func New

func New(addr string, db *sql.DB, version string, verbose bool, output io.Writer, staticPath string) (*Server, error)

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

Jump to

Keyboard shortcuts

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