gmitohtml-upstream/pkg/gmitohtml/config.go
2021-07-09 20:16:11 -07:00

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),
}