Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
AA struct {
Url string `toml:"url"`
Jwt string `toml:"jwt"`
} `toml:"aa"`
Webhook struct {
Host string `toml:"host"`
Jwt string `toml:"jwt"`
} `toml:"webhook"`
Dirs struct {
Files string `toml:"files"`
C2PAManifestTmpls string `toml:"c2pa_manifest_templates"`
EncKeys string `toml:"enc_keys"`
} `toml:"dirs"`
FolderPreprocessor struct {
SyncFolderRoot string `toml:"sync_folder_root"`
} `toml:"folder_preprocessor"`
FolderDatabase struct {
Host string `toml:"host"`
Port string `toml:"port"`
User string `toml:"user"`
Password string `toml:"password"`
Database string `toml:"database"`
} `toml:"folder_database"`
Bins struct {
Rclone string `toml:"rclone"`
C2patool string `toml:"c2patool"`
W3 string `toml:"w3"`
} `toml:"bins"`
C2PA struct {
PrivateKey string `toml:"private_key"`
SignCert string `toml:"sign_cert"`
} `toml:"c2pa"`
Numbers struct {
Token string `toml:"token"`
NftContractAddress string `toml:"nft_contract_address"`
} `toml:"numbers"`
Browsertrix struct {
User string `toml:"user"`
Password string `toml:"password"`
WebhookSecret string `toml:"webhook_secret"`
SigningDomains []string `toml:"signing_domains"`
} `toml:"browsertrix"`
}
See example_config.toml
Click to show internal directories.
Click to hide internal directories.