Documentation ¶
Overview ¶
Config package contains different typed parameters accessible by .Get(), as well as some structures like cache keys generator. Config file can be load by either set environment variable "APP_CONFIG" with full path to .yml config file or by putting config.yml to the app working directory.
Usage:
`config.Get().SomeParam`
Index ¶
Constants ¶
View Source
const ( ExampleCreatedMsg = "example.created" ExampleUpdateMsg = "example.update" ExampleDeleteMsg = "example.delete" )
Centralized storage for PubSub messages
Variables ¶
View Source
var ( Filename = "config.yml" ENVName = "APP_CONFIG" )
View Source
var CacheKeys = cacheKeys{}
Centralized storage for cache keys
View Source
var Version = "0.0.1"
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.