Directories
¶
| Path | Synopsis |
|---|---|
|
_server_template
module
|
|
|
Package conf provide functions for loading config from yaml file or env variables.
|
Package conf provide functions for loading config from yaml file or env variables. |
|
Package db provides Pool for communicationg with Postgre database.
|
Package db provides Pool for communicationg with Postgre database. |
|
Package helpers contains some useful functions, currently: generating uuid, md5 from string, sourceIp..
|
Package helpers contains some useful functions, currently: generating uuid, md5 from string, sourceIp.. |
|
Package life provides application wide context with cancel function and some helper functions to register syscalls for smooth app termination and reloading (conf, logger and such).
|
Package life provides application wide context with cancel function and some helper functions to register syscalls for smooth app termination and reloading (conf, logger and such). |
|
Package log provides basic logging mechanism.
|
Package log provides basic logging mechanism. |
|
Package route and its subpackages provides most of what you need for http server.
|
Package route and its subpackages provides most of what you need for http server. |
|
ctx
Package ctx contains setters and getters for request context.
|
Package ctx contains setters and getters for request context. |
|
middleware
Package middleware contains middlewares for logging, auth, custom errors and so on.
|
Package middleware contains middlewares for logging, auth, custom errors and so on. |
|
Package serialize provides unified interface for encoding and decoding data with several implementations (JSON, MsgPack, Gob, ..).
|
Package serialize provides unified interface for encoding and decoding data with several implementations (JSON, MsgPack, Gob, ..). |
Click to show internal directories.
Click to hide internal directories.