server

package
v0.0.0-...-eccc266 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(conf *conf.Config, dbQuerier *dao.DAO, authService *auth.Service) (*http.ServeMux, error)

NewRouter builds routing mux, registers handlers and health checks.

func NewServer

func NewServer(ctx context.Context, log *logz.Log, conf *conf.Config, mux *http.ServeMux) (*http.Server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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