Documentation ¶
Index ¶
- type BeaconsFilePersistence
- type BeaconsMemoryPersistence
- func (c *BeaconsMemoryPersistence) Create(correlationId string, item bdata.BeaconV1) (result *bdata.BeaconV1, err error)
- func (c *BeaconsMemoryPersistence) DeleteById(correlationId string, id string) (item *bdata.BeaconV1, err error)
- func (c *BeaconsMemoryPersistence) DeleteByIds(correlationId string, ids []string) (err error)
- func (c *BeaconsMemoryPersistence) GetListByIds(correlationId string, ids []string) (items []bdata.BeaconV1, err error)
- func (c *BeaconsMemoryPersistence) GetOneById(correlationId string, id string) (item *bdata.BeaconV1, err error)
- func (c *BeaconsMemoryPersistence) GetOneByUdi(correlationId string, udi string) (res *bdata.BeaconV1, err error)
- func (c *BeaconsMemoryPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *bdata.BeaconV1DataPage, err error)
- func (c *BeaconsMemoryPersistence) Update(correlationId string, item bdata.BeaconV1) (result *bdata.BeaconV1, err error)
- func (c *BeaconsMemoryPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item *bdata.BeaconV1, err error)
- type BeaconsMongoDbPersistence
- func (c *BeaconsMongoDbPersistence) Create(correlationId string, item bdata.BeaconV1) (result *bdata.BeaconV1, err error)
- func (c *BeaconsMongoDbPersistence) DeleteById(correlationId string, id string) (item *bdata.BeaconV1, err error)
- func (c *BeaconsMongoDbPersistence) DeleteByIds(correlationId string, ids []string) (err error)
- func (c *BeaconsMongoDbPersistence) GetListByIds(correlationId string, ids []string) (items []*bdata.BeaconV1, err error)
- func (c *BeaconsMongoDbPersistence) GetOneById(correlationId string, id string) (item *bdata.BeaconV1, err error)
- func (c *BeaconsMongoDbPersistence) GetOneByUdi(correlationId string, udi string) (result *bdata.BeaconV1, err error)
- func (c *BeaconsMongoDbPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *bdata.BeaconV1DataPage, err error)
- func (c *BeaconsMongoDbPersistence) Update(correlationId string, item bdata.BeaconV1) (result *bdata.BeaconV1, err error)
- func (c *BeaconsMongoDbPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item *bdata.BeaconV1, err error)
- type IBeaconsPersistence
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconsFilePersistence ¶
type BeaconsFilePersistence struct { BeaconsMemoryPersistence // contains filtered or unexported fields }
func NewBeaconsFilePersistence ¶
func NewBeaconsFilePersistence(path string) *BeaconsFilePersistence
func (*BeaconsFilePersistence) Configure ¶
func (c *BeaconsFilePersistence) Configure(config *cconf.ConfigParams)
type BeaconsMemoryPersistence ¶
type BeaconsMemoryPersistence struct {
cmperist.IdentifiableMemoryPersistence
}
func NewBeaconsMemoryPersistence ¶
func NewBeaconsMemoryPersistence() *BeaconsMemoryPersistence
func (*BeaconsMemoryPersistence) DeleteById ¶
func (*BeaconsMemoryPersistence) DeleteByIds ¶
func (c *BeaconsMemoryPersistence) DeleteByIds(correlationId string, ids []string) (err error)
func (*BeaconsMemoryPersistence) GetListByIds ¶
func (*BeaconsMemoryPersistence) GetOneById ¶
func (*BeaconsMemoryPersistence) GetOneByUdi ¶
func (*BeaconsMemoryPersistence) GetPageByFilter ¶
func (c *BeaconsMemoryPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *bdata.BeaconV1DataPage, err error)
func (*BeaconsMemoryPersistence) UpdatePartially ¶
func (c *BeaconsMemoryPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item *bdata.BeaconV1, err error)
type BeaconsMongoDbPersistence ¶
type BeaconsMongoDbPersistence struct {
mngpersist.IdentifiableMongoDbPersistence
}
func NewBeaconsMongoDbPersistence ¶
func NewBeaconsMongoDbPersistence() *BeaconsMongoDbPersistence
func (*BeaconsMongoDbPersistence) DeleteById ¶
func (*BeaconsMongoDbPersistence) DeleteByIds ¶
func (c *BeaconsMongoDbPersistence) DeleteByIds(correlationId string, ids []string) (err error)
func (*BeaconsMongoDbPersistence) GetListByIds ¶
func (*BeaconsMongoDbPersistence) GetOneById ¶
func (*BeaconsMongoDbPersistence) GetOneByUdi ¶
func (*BeaconsMongoDbPersistence) GetPageByFilter ¶
func (c *BeaconsMongoDbPersistence) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *bdata.BeaconV1DataPage, err error)
func (*BeaconsMongoDbPersistence) UpdatePartially ¶
func (c *BeaconsMongoDbPersistence) UpdatePartially(correlationId string, id string, data *cdata.AnyValueMap) (item *bdata.BeaconV1, err error)
type IBeaconsPersistence ¶
type IBeaconsPersistence interface { GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *bdata.BeaconV1DataPage, err error) GetOneById(correlationId string, id string) (res *bdata.BeaconV1, err error) GetOneByUdi(correlationId string, udi string) (res *bdata.BeaconV1, err error) Create(correlationId string, item bdata.BeaconV1) (res *bdata.BeaconV1, err error) Update(correlationId string, item bdata.BeaconV1) (res *bdata.BeaconV1, err error) DeleteById(correlationId string, id string) (res *bdata.BeaconV1, err error) }
Click to show internal directories.
Click to hide internal directories.