Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppStore ¶
type AppStore struct {
// contains filtered or unexported fields
}
func NewAppStore ¶
func NewAppStore(db *gorm.DB, cfg *coreconfig.Config) *AppStore
func (*AppStore) Config ¶
func (s *AppStore) Config() *coreconfig.Config
func (*AppStore) Hello ¶
func (s *AppStore) Hello() *HelloStore
type Datastore ¶
type Datastore interface {
Db() *gorm.DB
Config() *coreconfig.Config
// procyon:module-store-interface
Hello() *HelloStore
}
type HelloStore ¶
type HelloStore struct {
// contains filtered or unexported fields
}
func NewHelloStore ¶
func NewHelloStore(db *gorm.DB) *HelloStore
func (*HelloStore) GetBySlug ¶
func (s *HelloStore) GetBySlug(ctx context.Context, slug string) (*models.HelloMessage, error)
Click to show internal directories.
Click to hide internal directories.