You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
391 B
Go
28 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),
|
|
}
|