Documentation
¶
Overview ¶
Package internal is the root package for non-reusable components of the application (e.g. stores, usecases etc.). Similar to `pkg`, this package should not contain any entities (exported or otherwise) since a package named 'internal' does not express its purpose and could become a catch all or a dumping ground for things that do not belong.
Directories
¶
| Path | Synopsis |
|---|---|
|
delivery
|
|
|
rest
Package rest exposes the features of droplets as REST API.
|
Package rest exposes the features of droplets as REST API. |
|
web
Package web contains MVC style web app.
|
Package web contains MVC style web app. |
|
Package domain contains domain entities and core validation rules.
|
Package domain contains domain entities and core validation rules. |
|
Package stores contains different store implementations using MongoDB as storage backend.
|
Package stores contains different store implementations using MongoDB as storage backend. |
|
usecases
|
|
|
posts
Package posts has usecases around Post domain entity.
|
Package posts has usecases around Post domain entity. |
|
users
Package users has usecases around User domain entity.
|
Package users has usecases around User domain entity. |
Click to show internal directories.
Click to hide internal directories.