orion

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Orion

type Orion struct {
	URL                *url.URL
	AllowUnknownFields bool
}

Orion manages connection to the Context Broker

func New

func New(orionURL string) (*Orion, error)

New Orion instance

func (*Orion) DeleteEntities added in v0.2.2

func (o *Orion) DeleteEntities(client *http.Client, headers http.Header, ents []fiware.Entity) error

DeleteSuscriptions deletes a list of suscriptions from Orion

func (*Orion) DeleteSuscriptions

func (o *Orion) DeleteSuscriptions(client *http.Client, headers http.Header, subs []fiware.Suscription) error

DeleteSuscriptions deletes a list of suscriptions from Orion

func (*Orion) PostSuscriptions

func (o *Orion) PostSuscriptions(client *http.Client, headers http.Header, subs []fiware.Suscription) error

PostSuscriptions posts a list of suscriptions to orion

func (*Orion) Suscriptions

func (o *Orion) Suscriptions(client *http.Client, headers http.Header) ([]fiware.Suscription, error)

Suscriptions reads the list of suscriptions from the Context Broker

Jump to

Keyboard shortcuts

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