api

package
v0.0.0-...-1ee86e0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Data

func Data(c *fiber.Ctx) error

func Info

func Info(c *fiber.Ctx) error

Types

type DataItem

type DataItem struct {
	Name     string            `json:"name"`
	Type     string            `json:"type"`
	Sessions []DataItemSession `json:"sessions"`
}

type DataItemSession

type DataItemSession struct {
	Date   int64  `json:"date,omitempty"`
	Time   []int  `json:"time,omitempty"`
	Detail string `json:"detail,omitempty"`
}

type DataSum

type DataSum struct {
	Dates []int64    `json:"dates"`
	Items []DataItem `json:"items"`

	Lines int   `json:"lines"`
	Time  int64 `json:"time"`
}

type InfoSum

type InfoSum struct {
	Build         string   `json:"build"`
	SelectedUsers int      `json:"selected_items"`
	Users         []string `json:"users"`
	Devices       []string `json:"devices"`
}

type Response

type Response struct {
	Message string `json:"message,omitempty"`
	Data    any    `json:"data"`
}

Jump to

Keyboard shortcuts

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