clients1

package
v0.0.0-...-3c0dad4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 8 Imported by: 2

Documentation

Index

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 (c *BeaconsDirectClientV1) CreateBeacon(
	correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)

func (*BeaconsDirectClientV1) DeleteBeaconById

func (c *BeaconsDirectClientV1) DeleteBeaconById(
	correlationId string, beaconId string) (*data1.BeaconV1, error)

func (*BeaconsDirectClientV1) GetBeaconById

func (c *BeaconsDirectClientV1) GetBeaconById(
	correlationId string, beaconId string) (*data1.BeaconV1, error)

func (*BeaconsDirectClientV1) GetBeaconByUdi

func (c *BeaconsDirectClientV1) GetBeaconByUdi(
	correlationId string, udi string) (*data1.BeaconV1, error)

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

func (c *BeaconsDirectClientV1) UpdateBeacon(
	correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)

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 (c *BeaconsHttpClientV1) CreateBeacon(
	correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)

func (*BeaconsHttpClientV1) DeleteBeaconById

func (c *BeaconsHttpClientV1) DeleteBeaconById(
	correlationId string, beaconId string) (*data1.BeaconV1, error)

func (*BeaconsHttpClientV1) GetBeaconById

func (c *BeaconsHttpClientV1) GetBeaconById(
	correlationId string, beaconId string) (*data1.BeaconV1, error)

func (*BeaconsHttpClientV1) GetBeaconByUdi

func (c *BeaconsHttpClientV1) GetBeaconByUdi(
	correlationId string, udi string) (*data1.BeaconV1, error)

func (*BeaconsHttpClientV1) GetBeacons

func (c *BeaconsHttpClientV1) GetBeacons(
	correlationId string, filter *cdata.FilterParams,
	paging *cdata.PagingParams) (*data1.BeaconV1DataPage, error)

func (*BeaconsHttpClientV1) UpdateBeacon

func (c *BeaconsHttpClientV1) UpdateBeacon(
	correlationId string, beacon *data1.BeaconV1) (*data1.BeaconV1, error)

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 (c *BeaconsMemoryClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)

func (*BeaconsMemoryClientV1) DeleteBeaconById

func (c *BeaconsMemoryClientV1) DeleteBeaconById(correlationId string, beaconId string) (res *data1.BeaconV1, err error)

func (*BeaconsMemoryClientV1) GetBeaconById

func (c *BeaconsMemoryClientV1) GetBeaconById(correlationId string, beaconId string) (beacon *data1.BeaconV1, err error)

func (*BeaconsMemoryClientV1) GetBeaconByUdi

func (c *BeaconsMemoryClientV1) GetBeaconByUdi(correlationId string, udi string) (beacon *data1.BeaconV1, err error)

func (*BeaconsMemoryClientV1) GetBeacons

func (c *BeaconsMemoryClientV1) GetBeacons(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (page *data1.BeaconV1DataPage, err error)

func (*BeaconsMemoryClientV1) UpdateBeacon

func (c *BeaconsMemoryClientV1) UpdateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL