routes

package
v0.0.0-...-579c6bb Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminRouter

func AdminRouter(r chi.Router)

func AuthorizedOrigins

func AuthorizedOrigins(r *http.Request) bool

AuthorizedOrigins is a Go function that implements CORS. It queries the database for authorized origins.

r *http.Request bool

func RootRouter

func RootRouter(r chi.Router)

func SignalingRouter

func SignalingRouter(r chi.Router)

func VerifyAdminSession

func VerifyAdminSession(validate *validator.Validate, dm *dm.Manager, w http.ResponseWriter, r *http.Request) (bool, *structs.Client)

Types

This section is empty.

Jump to

Keyboard shortcuts

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