Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var C = Config{}
Functions ¶
Types ¶
type Config ¶
type Config struct { SiteUrl string // eg. https://1backend.com StripeKey string // stripe api key SendGridKey string // absolute path to folder containing files (assumes same structure as the repo) Path string // CAUTION! Uses the git user configured on the machine. ApiGeneration struct { Enabled bool // API generation enabled GithubOrganisation string // user and personal token is used for repo creation when calling GitHub's HTTP API GithubUser string GithubPersonalToken string } // Generated ts, node and ng API packages can be published to npmjs.org NpmPublication struct { Enabled bool // Org to publish the generated api clients under NpmOrganisation string // The token used to authenticate for npm publish NpmToken string } Sitemap struct { Enabled bool // defaults to /var/sitemap.xml.gz Path string } }
Click to show internal directories.
Click to hide internal directories.