Documentation ¶
Index ¶
- type BeaconsCommandSet
- type BeaconsController
- func (c *BeaconsController) CalculatePosition(ctx context.Context, correlationId string, siteId string, udis []string) (data1.GeoPointV1, error)
- func (c *BeaconsController) Configure(ctx context.Context, config *cconf.ConfigParams)
- func (c *BeaconsController) CreateBeacon(ctx context.Context, correlationId string, beacon data1.BeaconV1) (data1.BeaconV1, error)
- func (c *BeaconsController) DeleteBeaconById(ctx context.Context, correlationId string, beaconId string) (data1.BeaconV1, error)
- func (c *BeaconsController) GetBeaconById(ctx context.Context, correlationId string, beaconId string) (data1.BeaconV1, error)
- func (c *BeaconsController) GetBeaconByUdi(ctx context.Context, correlationId string, beaconId string) (data1.BeaconV1, error)
- func (c *BeaconsController) GetBeacons(ctx context.Context, correlationId string, filter cdata.FilterParams, ...) (cdata.DataPage[data1.BeaconV1], error)
- func (c *BeaconsController) GetCommandSet() *ccmd.CommandSet
- func (c *BeaconsController) SetReferences(ctx context.Context, references cref.IReferences)
- func (c *BeaconsController) UpdateBeacon(ctx context.Context, 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(ctx context.Context, correlationId string, siteId string, udis []string) (data1.GeoPointV1, error)
func (*BeaconsController) Configure ¶
func (c *BeaconsController) Configure(ctx context.Context, config *cconf.ConfigParams)
func (*BeaconsController) CreateBeacon ¶
func (*BeaconsController) DeleteBeaconById ¶
func (*BeaconsController) GetBeaconById ¶
func (*BeaconsController) GetBeaconByUdi ¶
func (*BeaconsController) GetBeacons ¶
func (c *BeaconsController) GetBeacons(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (cdata.DataPage[data1.BeaconV1], error)
func (*BeaconsController) GetCommandSet ¶
func (c *BeaconsController) GetCommandSet() *ccmd.CommandSet
func (*BeaconsController) SetReferences ¶
func (c *BeaconsController) SetReferences(ctx context.Context, references cref.IReferences)
type IBeaconsController ¶
type IBeaconsController interface { GetBeacons(ctx context.Context, correlationId string, filter cdata.FilterParams, paging cdata.PagingParams) (cdata.DataPage[data1.BeaconV1], error) GetBeaconById(ctx context.Context, correlationId string, beaconId string) (data1.BeaconV1, error) GetBeaconByUdi(ctx context.Context, correlationId string, beaconId string) (data1.BeaconV1, error) CalculatePosition(ctx context.Context, correlationId string, siteId string, udis []string) (data1.GeoPointV1, error) CreateBeacon(ctx context.Context, correlationId string, beacon data1.BeaconV1) (data1.BeaconV1, error) UpdateBeacon(ctx context.Context, correlationId string, beacon data1.BeaconV1) (data1.BeaconV1, error) DeleteBeaconById(ctx context.Context, correlationId string, beaconId string) (data1.BeaconV1, error) }
Click to show internal directories.
Click to hide internal directories.