17 lines
416 B
Go
Raw Normal View History

2025-09-15 09:33:25 +05:00
package core
import (
"errors"
)
// ServiceNameOptions is a name for options service which controls options storage.
const ServiceNameOptions = "core/options"
// ErrOptionsIsInvalid appears when options service implementation is invalid.
var ErrOptionsIsInvalid = errors.New("options service implementation is invalid")
// Options is an interface for options service.
2025-09-15 09:34:23 +05:00
//
//nolint:iface
2025-09-15 09:33:25 +05:00
type Options interface{}