blob: 4a4813480112a8cad15698ab9470274a420b4b7b [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package server
import (
"v.io/v23/security/access"
)
// serviceData represents the persistent state of a Service.
type serviceData struct {
Version uint64 // covers the fields below
Perms access.Permissions
}
// appData represents the persistent state of an App.
type appData struct {
Name string
Version uint64 // covers the fields below
Perms access.Permissions
}
// dbInfo contains information about one database for an App.
// TODO(sadovsky): Track NoSQL vs. SQL, storage engine config, etc.
type dbInfo struct {
Name string
Initialized bool
Deleted bool
}