mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-21 22:30:46 +08:00
28 lines
458 B
Go
28 lines
458 B
Go
package server
|
|
|
|
import (
|
|
"github.com/li4n0/revsuit/pkg/dns"
|
|
"github.com/li4n0/revsuit/pkg/mysql"
|
|
"github.com/li4n0/revsuit/pkg/rhttp"
|
|
"github.com/li4n0/revsuit/pkg/rmi"
|
|
)
|
|
|
|
type noticeConfig struct {
|
|
DingTalk string
|
|
Lark string
|
|
WeiXin string
|
|
Slack string
|
|
}
|
|
|
|
type Config struct {
|
|
Addr string
|
|
Token string
|
|
Database string
|
|
LogLevel string
|
|
Notice noticeConfig
|
|
rhttp.Config
|
|
DNS dns.Config
|
|
MySQL mysql.Config
|
|
RMI rmi.Config
|
|
}
|