mirror of
https://code.rocketnine.space/tslocum/gmitohtml.git
synced 2024-11-15 10:37:52 +01:00
27 lines
391 B
Go
27 lines
391 B
Go
package gmitohtml
|
|
|
|
import (
|
|
"crypto/tls"
|
|
)
|
|
|
|
type CertConfig struct {
|
|
Cert string
|
|
Key string
|
|
|
|
cert tls.Certificate
|
|
}
|
|
|
|
type AppConfig struct {
|
|
Bookmarks map[string]string
|
|
|
|
// Convert image links to images instead of normal links
|
|
ConvertImages bool
|
|
|
|
Certs map[string]*CertConfig
|
|
}
|
|
|
|
var Config = &AppConfig{
|
|
Bookmarks: make(map[string]string),
|
|
|
|
Certs: make(map[string]*CertConfig),
|
|
}
|