Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "0.1.1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
Application struct to hold the dependencies for our application.
type Config ¶
type Config struct {
BookStackEndpoint string // Ex: https://wiki.example.com
BookStackAPITokenID string // token ID
BookStackAPITokenSecret string // token secret
GenerateHTML bool // generate static site HTML
MdBookLocation string // path to the mdBook binary
Concurrency int // number of concurrent goroutines
DownloadLocation string // path of downloaded markdown
VerboseLogs bool // print detailed logs
DownloadImages bool // download static images from the wiki as well
}
Config struct to hold all the configuration settings for our application.
func LoadConfig ¶
func LoadConfig(app *Application) Config
Click to show internal directories.
Click to hide internal directories.