clients1

package
v0.0.0-...-18bc09f Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: MIT Imports: 6 Imported by: 0

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) (position *data1.GeoPointV1, err error)

func (*BeaconsDirectClientV1) CreateBeacon

func (c *BeaconsDirectClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)

func (*BeaconsDirectClientV1) DeleteBeaconById

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

func (*BeaconsDirectClientV1) GetBeaconById

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

func (*BeaconsDirectClientV1) GetBeaconByUdi

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

func (*BeaconsDirectClientV1) GetBeacons

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

func (*BeaconsDirectClientV1) SetReferences

func (c *BeaconsDirectClientV1) SetReferences(references cref.IReferences)

func (*BeaconsDirectClientV1) UpdateBeacon

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

type BeaconsGrpcClientV1

type BeaconsGrpcClientV1 struct {
	*clients.CommandableGrpcClient
}

func NewBeaconsGrpcClientV1

func NewBeaconsGrpcClientV1() *BeaconsGrpcClientV1

func (*BeaconsGrpcClientV1) CalculatePosition

func (c *BeaconsGrpcClientV1) CalculatePosition(correlationId string, siteId string, udis []string) (position *data1.GeoPointV1, err error)

func (*BeaconsGrpcClientV1) CreateBeacon

func (c *BeaconsGrpcClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)

func (*BeaconsGrpcClientV1) DeleteBeaconById

func (c *BeaconsGrpcClientV1) DeleteBeaconById(correlationId string, beaconId string) (beacon *data1.BeaconV1, err error)

func (*BeaconsGrpcClientV1) GetBeaconById

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

func (*BeaconsGrpcClientV1) GetBeaconByUdi

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

func (*BeaconsGrpcClientV1) GetBeacons

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

func (*BeaconsGrpcClientV1) UpdateBeacon

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

type BeaconsHttpClientV1

type BeaconsHttpClientV1 struct {
	*clients.CommandableHttpClient
}

func NewBeaconsHttpClientV1

func NewBeaconsHttpClientV1() *BeaconsHttpClientV1

func (*BeaconsHttpClientV1) CalculatePosition

func (c *BeaconsHttpClientV1) CalculatePosition(correlationId string, siteId string, udis []string) (position *data1.GeoPointV1, err error)

func (*BeaconsHttpClientV1) CreateBeacon

func (c *BeaconsHttpClientV1) CreateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)

func (*BeaconsHttpClientV1) DeleteBeaconById

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

func (*BeaconsHttpClientV1) GetBeaconById

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

func (*BeaconsHttpClientV1) GetBeaconByUdi

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

func (*BeaconsHttpClientV1) GetBeacons

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

func (*BeaconsHttpClientV1) UpdateBeacon

func (c *BeaconsHttpClientV1) 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) (page *data1.BeaconV1DataPage, err error)

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

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

	CalculatePosition(correlationId string, siteId string, udis []string) (position *data1.GeoPointV1, err error)

	CreateBeacon(correlationId string, beacon *data1.BeaconV1) (res *data1.BeaconV1, err error)

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

	DeleteBeaconById(correlationId string, beaconId string) (beacon *data1.BeaconV1, err error)
}

Jump to

Keyboard shortcuts

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