backend

package
v0.44.32 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

The umbrella package for the JSON REST API service.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Default HTTP 404 response.
	NotFoundHandler = func(w http.ResponseWriter, r *http.Request) {
		dummyRootLoggerWriter(w, r, "page not found", http.StatusNotFound)
	}

	// Default HTTP 405 response.
	MethodNotAllowedHandler = func(w http.ResponseWriter, r *http.Request) {
		dummyRootLoggerWriter(w, r, "method not allowed", http.StatusMethodNotAllowed)
	}
)

Functions

func NewAPIRouter added in v0.44.22

func NewAPIRouter() chi.Router

The very main API router.

Types

This section is empty.

Directories

Path Synopsis
Authentication logic and JWT operations package.
Authentication logic and JWT operations package.
Common functions, constants, and structures package for the backend.
Common functions, constants, and structures package for the backend.
The very core database/cache data operations package.
The very core database/cache data operations package.
Image (de)coding and processing magic package.
Image (de)coding and processing magic package.
The package to provide a server-side instance for the SSE message streaming.
The package to provide a server-side instance for the SSE message streaming.
Common mailing (and templating) package.
Common mailing (and templating) package.
Metrics registration and handling package.
Metrics registration and handling package.
The universal cache pagination tooling package.
The universal cache pagination tooling package.
Polls routes and controllers logic package for the backend.
Polls routes and controllers logic package for the backend.
Posts routes and controllers logic package for the backend.
Posts routes and controllers logic package for the backend.
Runtime profiling metapackage.
Runtime profiling metapackage.
(Web)Push notifications and subscriptions routes and controllers logic package for the backend.
(Web)Push notifications and subscriptions routes and controllers logic package for the backend.
The very app statistics routes and controllers logic package for the backend.
The very app statistics routes and controllers logic package for the backend.
Users routes and controllers logic package for the backend.
Users routes and controllers logic package for the backend.

Jump to

Keyboard shortcuts

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