Categorygithub.com/golangdorks/endpoint
modulepackage
0.0.0-20150624210510-c0458863748e
Repository: https://github.com/golangdorks/endpoint.git
Documentation: pkg.go.dev

# README

endpoint

Build Status GoDoc

endpoint is an approach to the definition of routes and handlers with middleware and context. It was inspired by stack.

Usage

For usage, see the example.

# Packages

No description provided by the author

# Structs

Endpoint is an endpoint on the server.

# Type aliases

Context is maps strings to arbitrary types.
Controller is a function that accepts a context and returns a handle.
Middleware is a function that accepts a context and a handler and returns a handle.