Documentation
¶
Overview ¶
Package config provide configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyPath = errors.New("config path is empty")
)
ErrEmptyPath returned when empty path is passed.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config represents config for InstaDiff service.
func (Config) IsLocalDBEnabled ¶
IsLocalDBEnabled returns local DB enabled status.
func (Config) MongoConfigURL ¶
MongoConfigURL returns configured MongoDB URL.
func (Config) MongoDBName ¶
MongoDBName returns configured MongoDB name.
func (Config) UnFollowLimits ¶
UnFollowLimits returns unFollow action daily limits.
Click to show internal directories.
Click to hide internal directories.