Documentation
¶
Index ¶
- type BeaconsCommandSet
- type BeaconsController
- func (c *BeaconsController) CalculatePosition(correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
- func (c *BeaconsController) Configure(config *cconf.ConfigParams)
- func (c *BeaconsController) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)
- func (c *BeaconsController) DeleteBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsController) GetBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsController) GetBeaconByUdi(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsController) GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)
- func (c *BeaconsController) GetCommandSet() *ccmd.CommandSet
- func (c *BeaconsController) SetReferences(references cref.IReferences)
- func (c *BeaconsController) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)
- type IBeaconsController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconsCommandSet ¶
type BeaconsCommandSet struct { ccmd.CommandSet // contains filtered or unexported fields }
func NewBeaconsCommandSet ¶
func NewBeaconsCommandSet(controller IBeaconsController) *BeaconsCommandSet
type BeaconsController ¶
type BeaconsController struct {
// contains filtered or unexported fields
}
func NewBeaconsController ¶
func NewBeaconsController() *BeaconsController
func (*BeaconsController) CalculatePosition ¶
func (c *BeaconsController) CalculatePosition( correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
func (*BeaconsController) Configure ¶
func (c *BeaconsController) Configure(config *cconf.ConfigParams)
func (*BeaconsController) CreateBeacon ¶
func (*BeaconsController) DeleteBeaconById ¶
func (*BeaconsController) GetBeaconById ¶
func (*BeaconsController) GetBeaconByUdi ¶
func (*BeaconsController) GetBeacons ¶
func (c *BeaconsController) GetBeacons( correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)
func (*BeaconsController) GetCommandSet ¶
func (c *BeaconsController) GetCommandSet() *ccmd.CommandSet
func (*BeaconsController) SetReferences ¶
func (c *BeaconsController) SetReferences(references cref.IReferences)
func (*BeaconsController) UpdateBeacon ¶
type IBeaconsController ¶
type IBeaconsController interface { GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *data1.BeaconV1DataPage, err error) GetBeaconById(correlationId string, beaconId string) (item *data1.BeaconV1, err error) GetBeaconByUdi(correlationId string, beaconId string) (item *data1.BeaconV1, err error) CalculatePosition(correlationId string, siteId string, udis []string) (position *data1.GeoPointV1, err error) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (item *data1.BeaconV1, err error) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (item *data1.BeaconV1, err error) DeleteBeaconById(correlationId string, beaconId string) (item *data1.BeaconV1, err error) }
Click to show internal directories.
Click to hide internal directories.