store

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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) Db

func (s *AppStore) Db() *gorm.DB

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL