Documentation ¶
Index ¶
- type Item
- type MongoDB
- func (m *MongoDB) Delete(req *state.DeleteRequest) error
- func (m *MongoDB) Features() []state.Feature
- func (m *MongoDB) Get(req *state.GetRequest) (*state.GetResponse, error)
- func (m *MongoDB) Init(metadata state.Metadata) error
- func (m *MongoDB) Multi(request *state.TransactionalStateRequest) error
- func (m *MongoDB) Set(req *state.SetRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDB ¶
type MongoDB struct { state.DefaultBulkStore // contains filtered or unexported fields }
MongoDB is a state store implementation for MongoDB
func NewMongoDB ¶
NewMongoDB returns a new MongoDB state store
func (*MongoDB) Delete ¶
func (m *MongoDB) Delete(req *state.DeleteRequest) error
Delete performs a delete operation
func (*MongoDB) Features ¶ added in v1.1.1
Features returns the features available in this state store
func (*MongoDB) Get ¶
func (m *MongoDB) Get(req *state.GetRequest) (*state.GetResponse, error)
Get retrieves state from MongoDB with a key
Click to show internal directories.
Click to hide internal directories.