Directories ¶
Path | Synopsis |
---|---|
boltdb
|
|
bolt
Package bolt implements a low-level key/value store in pure Go.
|
Package bolt implements a low-level key/value store in pure Go. |
chzyer
|
|
juju
|
|
errors
[godoc-link-here] The juju/errors provides an easy way to annotate errors without losing the orginal error context.
|
[godoc-link-here] The juju/errors provides an easy way to annotate errors without losing the orginal error context. |
julienschmidt
|
|
httprouter
Package httprouter is a trie based high performance HTTP request router.
|
Package httprouter is a trie based high performance HTTP request router. |
rs
|
|
cors
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/ You can configure it by passing an option struct to cors.New: c := cors.New(cors.Options{ AllowedOrigins: []string{"foo.com"}, AllowedMethods: []string{"GET", "POST", "DELETE"}, AllowCredentials: true, }) Then insert the handler in the chain: handler = c.Handler(handler) See Options documentation for more options.
|
Package cors is net/http handler to handle CORS related requests as defined by http://www.w3.org/TR/cors/ You can configure it by passing an option struct to cors.New: c := cors.New(cors.Options{ AllowedOrigins: []string{"foo.com"}, AllowedMethods: []string{"GET", "POST", "DELETE"}, AllowCredentials: true, }) Then insert the handler in the chain: handler = c.Handler(handler) See Options documentation for more options. |
xhandler
Package xhandler provides a bridge between http.Handler and net/context.
|
Package xhandler provides a bridge between http.Handler and net/context. |
Click to show internal directories.
Click to hide internal directories.