Help us shape the future of Go! Take the 2026 Go Developer Survey

schema

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: NCSA Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloseFrameEvent

type CloseFrameEvent struct {
	At    float64 `json:"at"`
	Frame float64 `json:"frame"`
	Type  string  `json:"type"`
}

CloseFrameEvent

func (*CloseFrameEvent) MarshalJSON

func (strct *CloseFrameEvent) MarshalJSON() ([]byte, error)

func (*CloseFrameEvent) UnmarshalJSON

func (strct *CloseFrameEvent) UnmarshalJSON(b []byte) error

type FileFormatEventedProfile

type FileFormatEventedProfile struct {
	EndValue   float64       `json:"endValue"`
	Events     []interface{} `json:"events"`
	Name       string        `json:"name"`
	StartValue float64       `json:"startValue"`
	Type       string        `json:"type"`
	Unit       string        `json:"unit"`
}

FileFormatEventedProfile

func (*FileFormatEventedProfile) MarshalJSON

func (strct *FileFormatEventedProfile) MarshalJSON() ([]byte, error)

func (*FileFormatEventedProfile) UnmarshalJSON

func (strct *FileFormatEventedProfile) UnmarshalJSON(b []byte) error

type FileFormatFile

type FileFormatFile struct {
	ActiveProfileIndex float64       `json:"activeProfileIndex,omitempty"`
	Exporter           string        `json:"exporter,omitempty"`
	Name               string        `json:"name,omitempty"`
	Profiles           []interface{} `json:"profiles"`
	Schema             string        `json:"$schema"`
	Shared             *Shared       `json:"shared"`
}

FileFormatFile

func (*FileFormatFile) MarshalJSON

func (strct *FileFormatFile) MarshalJSON() ([]byte, error)

func (*FileFormatFile) UnmarshalJSON

func (strct *FileFormatFile) UnmarshalJSON(b []byte) error

type FileFormatFrame

type FileFormatFrame struct {
	Col  float64 `json:"col,omitempty"`
	File string  `json:"file,omitempty"`
	Line float64 `json:"line,omitempty"`
	Name string  `json:"name"`
}

FileFormatFrame

func (*FileFormatFrame) MarshalJSON

func (strct *FileFormatFrame) MarshalJSON() ([]byte, error)

func (*FileFormatFrame) UnmarshalJSON

func (strct *FileFormatFrame) UnmarshalJSON(b []byte) error

type FileFormatIProfile

type FileFormatIProfile struct {
	Type string `json:"type"`
}

FileFormatIProfile

func (*FileFormatIProfile) MarshalJSON

func (strct *FileFormatIProfile) MarshalJSON() ([]byte, error)

func (*FileFormatIProfile) UnmarshalJSON

func (strct *FileFormatIProfile) UnmarshalJSON(b []byte) error

type FileFormatSampledProfile

type FileFormatSampledProfile struct {
	EndValue   float64     `json:"endValue"`
	Name       string      `json:"name"`
	Samples    [][]float64 `json:"samples"`
	StartValue float64     `json:"startValue"`
	Type       string      `json:"type"`
	Unit       string      `json:"unit"`
	Weights    []float64   `json:"weights"`
}

FileFormatSampledProfile

func (*FileFormatSampledProfile) MarshalJSON

func (strct *FileFormatSampledProfile) MarshalJSON() ([]byte, error)

func (*FileFormatSampledProfile) UnmarshalJSON

func (strct *FileFormatSampledProfile) UnmarshalJSON(b []byte) error

type IEvent

type IEvent struct {
	At   float64 `json:"at"`
	Type string  `json:"type"`
}

IEvent

func (*IEvent) MarshalJSON

func (strct *IEvent) MarshalJSON() ([]byte, error)

func (*IEvent) UnmarshalJSON

func (strct *IEvent) UnmarshalJSON(b []byte) error

type OpenFrameEvent

type OpenFrameEvent struct {
	At    float64 `json:"at"`
	Frame float64 `json:"frame"`
	Type  string  `json:"type"`
}

OpenFrameEvent

func (*OpenFrameEvent) MarshalJSON

func (strct *OpenFrameEvent) MarshalJSON() ([]byte, error)

func (*OpenFrameEvent) UnmarshalJSON

func (strct *OpenFrameEvent) UnmarshalJSON(b []byte) error

type Root

type Root *FileFormatFile

Root

type Shared

type Shared struct {
	Frames []*FileFormatFrame `json:"frames"`
}

Shared

func (*Shared) MarshalJSON

func (strct *Shared) MarshalJSON() ([]byte, error)

func (*Shared) UnmarshalJSON

func (strct *Shared) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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