Documentation ¶
Overview ¶
Package config handles the lambda configuration - both loading and saving config files from disk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LambdaConfig ¶
type PolkaConfig ¶
func CreatePolkaHomeConfigAsNeeded ¶
func CreatePolkaHomeConfigAsNeeded() (PolkaConfig, error)
CreatePolkaHomeConfig creates ~/.polka if it doesn't exist already. It then places the contents of PolkaConfig into it as ~/.polka/polka_config.json
func (*PolkaConfig) Exists ¶
func (p *PolkaConfig) Exists() bool
func (*PolkaConfig) Save ¶
func (p *PolkaConfig) Save()
type ProjectConfig ¶
type ProjectConfig struct {
S3 string
}
func LoadProjectConfig ¶
func LoadProjectConfig() (ProjectConfig, error)
func (*ProjectConfig) Save ¶
func (p *ProjectConfig) Save()
Save this project config in config/app.json. Always overwrites the previous file.
Click to show internal directories.
Click to hide internal directories.