mrsettings

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentCacheGetter

func NewComponentCacheGetter(
	client mrstorage.DBConnManager,
	meta mrstorage.MetaGetter,
	errorWrapper mrcore.UsecaseErrorWrapper,
	opts ComponentCacheGetterOptions,
) *cachegetter.Component

NewComponentCacheGetter - создаёт объект cachegetter.Component.

func NewComponentGetter

func NewComponentGetter(
	client mrstorage.DBConnManager,
	meta mrstorage.MetaGetter,
	errorWrapper mrcore.UsecaseErrorWrapper,
	opts ComponentGetterOptions,
) *getter.Component

NewComponentGetter - создаёт объект getter.Component.

func NewComponentSetter

func NewComponentSetter(
	client mrstorage.DBConnManager,
	meta mrstorage.MetaGetter,
	eventEmitter mrsender.EventEmitter,
	errorWrapper mrcore.UsecaseErrorWrapper,
	opts ComponentSetterOptions,
) *setter.Component

NewComponentSetter - создаёт объект setter.Component.

Types

type ComponentCacheGetterOptions

type ComponentCacheGetterOptions ComponentGetterOptions

ComponentCacheGetterOptions - опции для создания ComponentCacheGetter.

type ComponentGetterOptions

type ComponentGetterOptions struct {
	ListItemSeparator string
	DBCondition       mrstorage.SQLBuilderCondition
}

ComponentGetterOptions - опции для создания ComponentGetter.

type ComponentSetterOptions

type ComponentSetterOptions struct {
	ValueMaxLen       uint64
	ListItemSeparator string
	DBCondition       mrstorage.SQLBuilderCondition
}

ComponentSetterOptions - опции для создания ComponentGetter.

Jump to

Keyboard shortcuts

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