Documentation ¶
Index ¶
- type Component
- func (co *Component) Set(ctx context.Context, id mrtype.KeyInt32, value string) error
- func (co *Component) SetBool(ctx context.Context, id mrtype.KeyInt32, value bool) error
- func (co *Component) SetInt64(ctx context.Context, id mrtype.KeyInt32, value int64) error
- func (co *Component) SetInt64List(ctx context.Context, id mrtype.KeyInt32, value []int64) error
- func (co *Component) SetList(ctx context.Context, id mrtype.KeyInt32, value []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component - компонент для сохранения настроек в хранилище данных.
func New ¶
func New( formatter mrsettings.ValueFormatter, storage mrsettings.Storage, eventEmitter mrsender.EventEmitter, errorWrapper mrcore.UsecaseErrorWrapper, ) *Component
New - создаёт объект Component.
func (*Component) SetInt64List ¶
SetInt64List - comment method.
Click to show internal directories.
Click to hide internal directories.