parent
ee0db5daa4
commit
e0f5edd51a
@ -0,0 +1,18 @@ |
|||||||
|
package config |
||||||
|
|
||||||
|
// Content contains content-specific configuration
|
||||||
|
type Content struct { |
||||||
|
Backend string `mapstructure:"backend"` |
||||||
|
Key string `mapstructure:"key"` |
||||||
|
Pinned string `mapstructure:"pinned"` |
||||||
|
PostsPerPage int `mapstructure:"postsPerPage"` |
||||||
|
} |
||||||
|
|
||||||
|
// Config contains application configuration
|
||||||
|
type Config struct { |
||||||
|
Verbose string `mapstructure:"verbose"` |
||||||
|
Base string `mapstructure:"base"` |
||||||
|
Addr string `mapstructure:"addr"` |
||||||
|
Unix string `mapstructure:"unix"` |
||||||
|
Content Content `mapstructure:"content"` |
||||||
|
} |
Loading…
Reference in new issue