Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestInfo ¶
type RequestInfo struct {
// contains filtered or unexported fields
}
RequestInfo aims to group all request releated information
type RequestOptions ¶
RequestOptions represents the request query parameters
type ThingProxy ¶
type ThingProxy interface { Create(id, name, authorization string) (idGenerated string, err error) UpdateSchema(authorization, ID string, schemaList []entities.Schema) error List(authorization string) (things []*entities.Thing, err error) Get(authorization, ID string) (*entities.Thing, error) Remove(authorization, ID string) error }
ThingProxy proxy a request to the thing service interface
func NewThingProxy ¶
func NewThingProxy(logger logging.Logger, hostname string, port uint16) ThingProxy
NewThingProxy creates a proxy to the thing service
type ThingProxyRepr ¶
type ThingProxyRepr struct { ID string `json:"id"` Name string `json:"name"` Metadata objMetadata `json:"metadata"` }
ThingProxyRepr is the entity that represents the thing on the remote thing's service
Click to show internal directories.
Click to hide internal directories.