orionsdk

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Type     string              `json:"type"`
	Value    interface{}         `json:"value"`
	Metadata map[string]Metadata `json:"metadata"`
}

type Entity

type Entity struct {
	ID    ID                   `json:"id"`
	Type  string               `json:"type"`
	Attrs map[string]Attribute `json:"-"`
}

func (Entity) MarshalJSON

func (e Entity) MarshalJSON() ([]byte, error)

func (*Entity) UnmarshalJSON

func (e *Entity) UnmarshalJSON(b []byte) error

type ID

type ID string

type Metadata

type Metadata struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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