Documentation ¶
Index ¶
Constants ¶
View Source
const ( UNKNOWN_FORMAT Format = "" JSON_FORMAT = "http://www.sepl.wifa.uni-leipzig.de/ontlogies/device-repo#json" PLAIN_FORMAT = "http://www.sepl.wifa.uni-leipzig.de/ontlogies/device-repo#PlainText" )
View Source
const TermSymbol = rdf.TermLiteral + 1
Variables ¶
This section is empty.
Functions ¶
func CreateNewEndpoint ¶
func CreateNewEndpoint(db interfaces.Persistence, endpointMsg EndpointGenMsg, owner string) (endpoint model.Endpoint, err error)
Types ¶
type EndpointGenMsg ¶
type EndpointGenMsg struct { Endpoint string `json:"endpoint"` ProtocolHandler string `json:"protocol_handler"` Parts []EndpointGenMsgPart `json:"parts"` }
type EndpointGenMsgPart ¶
type Format ¶
type Format string
func ValueTypeFromMessage ¶
func ValueTypeFromMessage(db interfaces.Persistence, msg string) (valueType model.ValueType, format Format, struc interface{}, err error)
Click to show internal directories.
Click to hide internal directories.