Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultSecret = "secret" DefaultHttpUrl = "http://localhost:8123" DefaultListenAddress = "0.0.0.0:8123" DefaultStaticFilePath = "./dist" DefaultDbFilePath = "./db" )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GithubAccessToken string `long:"token" description:"github access token with full repo permissions" required:"true"` Secret string `long:"secret" description:"webhook secret"` HttpUrl string `long:"http-url" description:"http url for invoice delivery"` ListenAddress string `long:"listen-address" description:"listen address"` DbFilePath string `long:"db-filepath" description:"path to db file"` StaticFilePath string `long:"static-filepath" description:"path to web files"` LndConnect string `long:"lndconnect" description:"lndconnect string with admin permissions" required:"true"` }
func DefaultConfig ¶
func DefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.