Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoneComponentsFound = errors.New("at least one component service should be defined")
)
View Source
var ErrSocketNotDefined = errors.New("socket env `DAPR_COMPONENT_SOCKET_PATH` must be set")
Functions ¶
Types ¶
type Option ¶
type Option = func(*componentOpts)
func UseStateStore ¶
func UseStateStore(stateStore state.Store) Option
UseStateStore sets the component state store implementation.
Click to show internal directories.
Click to hide internal directories.