type Profile struct {
// Mode can be "prod" or "dev" or "demo" Mode string `json:"mode"`
// Addr is the binding address for server Addr string `json:"-"`
// Port is the binding port for server Port int `json:"-"`
// Data is the data directory Data string `json:"-"`
// DSN points to where memos stores its own data DSN string `json:"-"`
// Driver is the database driver// sqlite, mysql
Driver string `json:"-"`
// Version is the current version of server Version string `json:"version"`
// Metric indicate the metric collection is enabled or not Metric bool `json:"-"`
}
Profile is the configuration to start main server.