_examples/

directory
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT

Directories

Path Synopsis
FileServer =========== This example demonstrates how to serve static files from your filesystem.
FileServer =========== This example demonstrates how to serve static files from your filesystem.
Limits ====== This example demonstrates the use of Timeout, and Throttle middlewares.
Limits ====== This example demonstrates the use of Timeout, and Throttle middlewares.
Custom Structured Logger ======================== This example demonstrates how to use middleware.RequestLogger, middleware.LogFormatter and middleware.LogEntry to build a structured logger using the amazing sirupsen/logrus package as the logging backend.
Custom Structured Logger ======================== This example demonstrates how to use middleware.RequestLogger, middleware.LogFormatter and middleware.LogEntry to build a structured logger using the amazing sirupsen/logrus package as the logging backend.
REST ==== This example demonstrates a HTTP REST web service with some fixture data.
REST ==== This example demonstrates a HTTP REST web service with some fixture data.
Todos Resource ============== This example demonstrates a project structure that defines a subrouter and its handlers on a struct, and mounting them as subrouters to a parent router.
Todos Resource ============== This example demonstrates a project structure that defines a subrouter and its handlers on a struct, and mounting them as subrouters to a parent router.
Versions ======== This example demonstrates the use of the render subpackage, with a quick concept for how to support multiple api versions.
Versions ======== This example demonstrates the use of the render subpackage, with a quick concept for how to support multiple api versions.

Jump to

Keyboard shortcuts

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