Documentation ¶
Index ¶
- Constants
- type ConfigStore
- func (s *ConfigStore) AddApp(app *c.BaseApp) error
- func (s *ConfigStore) Apps() []c.DbApp
- func (s *ConfigStore) Config() *c.DbOpenstadia
- func (s *ConfigStore) GetAppById(id int) (*c.DbApp, error)
- func (s *ConfigStore) Hub() *c.Hub
- func (s *ConfigStore) Local() *c.Local
- func (s *ConfigStore) SetHub(hub *c.Hub) error
- func (s *ConfigStore) SetLocal(local *c.Local) error
- type DbStore
- func (s *DbStore) AddApp(app *c.BaseApp) error
- func (s *DbStore) Apps() []c.DbApp
- func (s *DbStore) Config() *c.DbOpenstadia
- func (s *DbStore) GetAppById(id int) (*c.DbApp, error)
- func (s *DbStore) Hub() *c.Hub
- func (s *DbStore) Local() *c.Local
- func (s *DbStore) SetConfig(config *c.Openstadia)
- func (s *DbStore) SetHub(hub *c.Hub) error
- func (s *DbStore) SetLocal(local *c.Local) error
- type Store
Constants ¶
View Source
const ( AppsBucketName = "Apps" MetaBucketName = "Meta" )
View Source
const DbFile = "openstadia.db"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigStore ¶
type ConfigStore struct {
// contains filtered or unexported fields
}
func CreateConfigStore ¶
func CreateConfigStore(config *c.Openstadia) *ConfigStore
func (*ConfigStore) Apps ¶
func (s *ConfigStore) Apps() []c.DbApp
func (*ConfigStore) Config ¶
func (s *ConfigStore) Config() *c.DbOpenstadia
func (*ConfigStore) GetAppById ¶
func (s *ConfigStore) GetAppById(id int) (*c.DbApp, error)
func (*ConfigStore) Hub ¶
func (s *ConfigStore) Hub() *c.Hub
func (*ConfigStore) Local ¶
func (s *ConfigStore) Local() *c.Local
type DbStore ¶
type DbStore struct {
// contains filtered or unexported fields
}
func CreateDbStore ¶
func (*DbStore) Config ¶
func (s *DbStore) Config() *c.DbOpenstadia
func (*DbStore) SetConfig ¶
func (s *DbStore) SetConfig(config *c.Openstadia)
Click to show internal directories.
Click to hide internal directories.