Categorygithub.com/sgnl-ai/adapter-framework
modulepackage
0.13.0
Repository: https://github.com/sgnl-ai/adapter-framework.git
Documentation: pkg.go.dev

# README

SGNL ingestion adapter framework

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddAttribute adds a attribute into the given object.
AddChildObjects adds child objects into the given object.
NewGetPageResponseError returns a Response with the given error.
NewGetPageResponseSuccess returns a Response with the given page.
ParseDuration parses a valid ISO8601 duration string into a Duration.

# Constants

Boolean.
Date or timestamp.
Double-precision float.
Duration.
Signed integer.
String.

# Structs

AttributeConfig is the configuration of an attribute to return.
BasicAuthCredentials contains credentials for basic username/password authentication with a datasource.
DatasourceAuthCredentials contains the credentials to authenticate with a datasource.
Duration is the value of an attribute of type duration.
EntityConfig is the configuration of an entity to get data from.
Error contains the details of an error that occurred while executing a GetPage request.
Page contains the objects requested by a GetPage request.
Request is a request for a page of objects from a datasource for an entity.
Response is the response to a GetPage request.

# Interfaces

Adapter is the high-level interface implemented by adapters.
AttributeValue is the set of types allowed for values of non-list attributes in an Object.

# Type aliases

AttributeType is the type of the values for an attribute.
Object is an object returned for the top entity or a child entity.