Directories ¶
Path | Synopsis |
---|---|
This program provides a sample web service that implements a RESTFul CRUD API against a MongoDB database.
|
This program provides a sample web service that implements a RESTFul CRUD API against a MongoDB database. |
app
Package app provides application support for context and MongoDB access.
|
Package app provides application support for context and MongoDB access. |
handlers
Package handlers contains the handler logic for processing requests.
|
Package handlers contains the handler logic for processing requests. |
models
Package models contains data structures and associated behavior
|
Package models contains data structures and associated behavior |
services
Package services provides business and data processing.
|
Package services provides business and data processing. |
Sample program to show how to implement a handler function with the http package.
|
Sample program to show how to implement a handler function with the http package. |
Sample program to show how you can use the FileServer handle with this service as a single call to ListenAndServe.
|
Sample program to show how you can use the FileServer handle with this service as a single call to ListenAndServe. |
Sample program to show how to use a ServeMux from the standard library.
|
Sample program to show how to use a ServeMux from the standard library. |
Click to show internal directories.
Click to hide internal directories.