1 package gmitohtml 2 3 import ( 4 "crypto/tls" 5 ) 6 7 type CertConfig struct { 8 Cert string 9 Key string 10 11 cert tls.Certificate 12 } 13 14 type AppConfig struct { 15 Bookmarks map[string]string 16 17 // Convert image links to images instead of normal links 18 ConvertImages bool 19 20 Certs map[string]*CertConfig 21 } 22 23 var Config = &AppConfig{ 24 Bookmarks: make(map[string]string), 25 26 Certs: make(map[string]*CertConfig), 27 } 28