Documentation ¶
Index ¶
- type BeaconsDirectClientV1
- func (c *BeaconsDirectClientV1) CalculatePosition(correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
- func (c *BeaconsDirectClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)
- func (c *BeaconsDirectClientV1) DeleteBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsDirectClientV1) GetBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsDirectClientV1) GetBeaconByUdi(correlationId string, udi string) (*data1.BeaconV1, error)
- func (c *BeaconsDirectClientV1) GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)
- func (c *BeaconsDirectClientV1) SetReferences(references cref.IReferences)
- func (c *BeaconsDirectClientV1) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)
- type BeaconsHttpClientV1
- func (c *BeaconsHttpClientV1) CalculatePosition(correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
- func (c *BeaconsHttpClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)
- func (c *BeaconsHttpClientV1) DeleteBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsHttpClientV1) GetBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error)
- func (c *BeaconsHttpClientV1) GetBeaconByUdi(correlationId string, udi string) (*data1.BeaconV1, error)
- func (c *BeaconsHttpClientV1) GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)
- func (c *BeaconsHttpClientV1) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)
- type BeaconsMemoryClientV1
- func (c *BeaconsMemoryClientV1) CalculatePosition(correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
- func (c *BeaconsMemoryClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)
- func (c *BeaconsMemoryClientV1) DeleteBeaconById(correlationId string, beaconId string) (res *data1.BeaconV1, err error)
- func (c *BeaconsMemoryClientV1) GetBeaconById(correlationId string, beaconId string) (beacon *data1.BeaconV1, err error)
- func (c *BeaconsMemoryClientV1) GetBeaconByUdi(correlationId string, udi string) (beacon *data1.BeaconV1, err error)
- func (c *BeaconsMemoryClientV1) GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *data1.BeaconV1DataPage, err error)
- func (c *BeaconsMemoryClientV1) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)
- type BeaconsNullClientV1
- type IBeaconsClientV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeaconsDirectClientV1 ¶
type BeaconsDirectClientV1 struct { clients.DirectClient // contains filtered or unexported fields }
func NewBeaconsDirectClientV1 ¶
func NewBeaconsDirectClientV1() *BeaconsDirectClientV1
func (*BeaconsDirectClientV1) CalculatePosition ¶
func (c *BeaconsDirectClientV1) CalculatePosition( correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
func (*BeaconsDirectClientV1) CreateBeacon ¶
func (*BeaconsDirectClientV1) DeleteBeaconById ¶
func (*BeaconsDirectClientV1) GetBeaconById ¶
func (*BeaconsDirectClientV1) GetBeaconByUdi ¶
func (*BeaconsDirectClientV1) GetBeacons ¶
func (c *BeaconsDirectClientV1) GetBeacons( correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)
func (*BeaconsDirectClientV1) SetReferences ¶
func (c *BeaconsDirectClientV1) SetReferences(references cref.IReferences)
func (*BeaconsDirectClientV1) UpdateBeacon ¶
type BeaconsHttpClientV1 ¶
type BeaconsHttpClientV1 struct { *cclients.CommandableHttpClient // contains filtered or unexported fields }
func NewBeaconsHttpClientV1 ¶
func NewBeaconsHttpClientV1() *BeaconsHttpClientV1
func (*BeaconsHttpClientV1) CalculatePosition ¶
func (c *BeaconsHttpClientV1) CalculatePosition( correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
func (*BeaconsHttpClientV1) CreateBeacon ¶
func (*BeaconsHttpClientV1) DeleteBeaconById ¶
func (*BeaconsHttpClientV1) GetBeaconById ¶
func (*BeaconsHttpClientV1) GetBeaconByUdi ¶
func (*BeaconsHttpClientV1) GetBeacons ¶
func (c *BeaconsHttpClientV1) GetBeacons( correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)
func (*BeaconsHttpClientV1) UpdateBeacon ¶
type BeaconsMemoryClientV1 ¶
type BeaconsMemoryClientV1 struct {
// contains filtered or unexported fields
}
func NewBeaconsMemoryClientV1 ¶
func NewBeaconsMemoryClientV1(items []data1.BeaconV1) *BeaconsMemoryClientV1
func (*BeaconsMemoryClientV1) CalculatePosition ¶
func (c *BeaconsMemoryClientV1) CalculatePosition( correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error)
func (*BeaconsMemoryClientV1) CreateBeacon ¶
func (*BeaconsMemoryClientV1) DeleteBeaconById ¶
func (*BeaconsMemoryClientV1) GetBeaconById ¶
func (*BeaconsMemoryClientV1) GetBeaconByUdi ¶
func (*BeaconsMemoryClientV1) GetBeacons ¶
func (c *BeaconsMemoryClientV1) GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *data1.BeaconV1DataPage, err error)
func (*BeaconsMemoryClientV1) UpdateBeacon ¶
type BeaconsNullClientV1 ¶
type BeaconsNullClientV1 struct { }
func NewBeaconsNullClientV1 ¶
func NewBeaconsNullClientV1() *BeaconsNullClientV1
type IBeaconsClientV1 ¶
type IBeaconsClientV1 interface { GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error) GetBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error) GetBeaconByUdi(correlationId string, udi string) (*data1.BeaconV1, error) CalculatePosition(correlationId string, siteId string, udis []string) (*data1.GeoPointV1, error) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error) DeleteBeaconById(correlationId string, beaconId string) (*data1.BeaconV1, error) }
Click to show internal directories.
Click to hide internal directories.