domain

package
v0.0.0-...-0825164 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Properties

type Properties struct {
	Properties []Property
}

type Property

type Property struct {
	Id          ReadOnlyId  `json:"id" gorm:"primaryKey"`
	Application string      `json:"application" gorm:"index"`
	Profile     string      `json:"profile" gorm:"index"`
	Label       string      `json:"label" gorm:"index"`
	Key         string      `json:"key"`
	Value       interface{} `json:"value"`
}

func (*Property) MarshalBinary

func (p *Property) MarshalBinary() ([]byte, error)

MarshalBinary encodes the struct into a binary blob

func (*Property) UnmarshalBinary

func (p *Property) UnmarshalBinary(data []byte) error

UnmarshalBinary decodes the struct into a Property

type ReadOnlyId

type ReadOnlyId uint64

func (ReadOnlyId) UnmarshalJSON

func (ReadOnlyId) UnmarshalJSON([]byte) error

UnmarshalJSON ignores the field value completely when reading.

Jump to

Keyboard shortcuts

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