schema

package
v0.0.0-...-eaa9bf8 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	Target string `json:"target"`
	Method string `json:"method"`
	Index  uint   `json:"index"`
}

type CompetitorSchema

type CompetitorSchema struct {
	Vehicle uint `json:"vehicle"`
	Driver  uint `json:"driver"`
}

type EventSchema

type EventSchema struct {
	Name        string `json:"name"`
	Class       uint8  `json:"calss"`
	Tracks      []uint `json:"tracks"`
	Competitors []uint `json:"competitors"`
}

type Payload

type Payload struct {
	Action Action          `json:"action"`
	Data   json.RawMessage `json:"data"`
}

Jump to

Keyboard shortcuts

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