Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository - репозиторий для хранения элементов настроек.
func New ¶
func New(client mrstorage.DBConnManager, meta mrstorage.MetaGetter, condition mrstorage.SQLBuilderCondition) *Repository
New - создаёт объект Repository.
func (*Repository) Fetch ¶
func (re *Repository) Fetch(ctx context.Context, lastUpdated time.Time) ([]mrsettings.EntitySetting, error)
Fetch - comment method.
func (*Repository) FetchOne ¶
func (re *Repository) FetchOne(ctx context.Context, id mrtype.KeyInt32) (mrsettings.EntitySetting, error)
FetchOne - comment method.
func (*Repository) Update ¶
func (re *Repository) Update(ctx context.Context, row mrsettings.EntitySetting) error
Update - comment method.
Click to show internal directories.
Click to hide internal directories.