mirror of
https://github.com/1f349/violet.git
synced 2024-11-09 22:22:50 +00:00
25 lines
554 B
Go
25 lines
554 B
Go
|
package servers
|
||
|
|
||
|
import (
|
||
|
"database/sql"
|
||
|
"github.com/MrMelon54/violet/certs"
|
||
|
"github.com/MrMelon54/violet/domains"
|
||
|
errorPages "github.com/MrMelon54/violet/error-pages"
|
||
|
"github.com/MrMelon54/violet/favicons"
|
||
|
"github.com/mrmelon54/mjwt"
|
||
|
"net/http/httputil"
|
||
|
)
|
||
|
|
||
|
type Conf struct {
|
||
|
ApiListen string
|
||
|
HttpListen string
|
||
|
HttpsListen string
|
||
|
DB *sql.DB
|
||
|
Domains *domains.Domains
|
||
|
Certs *certs.Certs
|
||
|
Favicons *favicons.Favicons
|
||
|
Verify mjwt.Provider
|
||
|
ErrorPages *errorPages.ErrorPages
|
||
|
Proxy *httputil.ReverseProxy
|
||
|
}
|