models

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Type          string                `json:"type" binding:"required"`
	ID            uuid.UUID             `json:"id" binding:"required"`
	Attributes    map[string]string     `json:"attributes"`
	Relationships map[string][]Relation `json:"relationships"`
	ReceivedAt    time.Time
}

type IdentifierReference

type IdentifierReference struct {
	Self   [16]byte
	Linked [][16]byte
}

type Relation

type Relation struct {
	Type string    `json:"type" binding:"required"`
	ID   uuid.UUID `json:"id" binding:"required"`
}

Jump to

Keyboard shortcuts

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