server

package
v0.0.0-...-b779c1c Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CSRFTokenKey = "X-CSRF-Token"

Functions

func New

func New(cfg config.Config, db *sql.DB) *http.Server

Types

type Server

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

func (*Server) RegisterRoutes

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

Jump to

Keyboard shortcuts

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