server

package
v0.0.0-...-3bbdfff Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSFilter

func CORSFilter(req typhon.Request, svc typhon.Service) typhon.Response

func ClientErrorFilter

func ClientErrorFilter(req typhon.Request, svc typhon.Service) typhon.Response

ClientErrorFilter strips sensitive error info before returning error to client, leaving only code and message; on a best-effort basis.

func Service

func Service() typhon.Service

N.B. The service itself does not enforce authentication. It is recommended that basic or certificate-based authentication is applied at the reverse proxy serving this service, if served over the internet.

Types

This section is empty.

Jump to

Keyboard shortcuts

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