Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Actions more complex than models.
|
Actions more complex than models. |
Config package contains different typed parameters accessible by .Get(), as well as some structures like cache keys generator.
|
Config package contains different typed parameters accessible by .Get(), as well as some structures like cache keys generator. |
Common App specific helpers.
|
Common App specific helpers. |
Data structures and persistence methods
|
Data structures and persistence methods |
example
Example model and data manager It contains initialized Manager (`Man`) to get|set data: `example.Man.Get(123)`
|
Example model and data manager It contains initialized Manager (`Man`) to get|set data: `example.Man.Get(123)` |
Background jobs.
|
Background jobs. |
Core components of the App.
|
Core components of the App. |
cmd
CLI Commands using Cobra package
|
CLI Commands using Cobra package |
db
Database connectors
|
Database connectors |
log
Wrapper for Logrus log.WithFields(log.Fields{ "key": "val", "key2": "val2", }).Info("Index page")
|
Wrapper for Logrus log.WithFields(log.Fields{ "key": "val", "key2": "val2", }).Info("Index page") |
memcache
Wrapper for Memcached
|
Wrapper for Memcached |
pubsub
Publish-Subscriber local service Can be replaced by distributed one (e.g.
|
Publish-Subscriber local service Can be replaced by distributed one (e.g. |
Independent utils.
|
Independent utils. |
pause
Pause sleeps on each step for some time (increasing in linear progression).
|
Pause sleeps on each step for some time (increasing in linear progression). |
views
|
|
common
Common parts used in other views
|
Common parts used in other views |
Click to show internal directories.
Click to hide internal directories.