schema

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: MPL-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorResponse

func ErrorResponse(c *gin.Context, err string)

Types

type Cursor

type Cursor struct {
	Timestamp int64  `json:"timestamp"`
	Ordinate  int64  `json:"ordinate"`
	Cron      string `json:"cron"`
	Sort      string `json:"sort"`
}

type RespErr

type RespErr struct {
	Err string `json:"error"`
}

func (RespErr) Error

func (r RespErr) Error() string

type Response

type Response struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

type ResponseResults

type ResponseResults struct {
	Edges []ResultsEdge `json:"edges"`
}

type ResultsEdge

type ResultsEdge struct {
	Cursor string           `json:"cursor"`
	Node   vmmSchema.Result `json:"node"`
}

Jump to

Keyboard shortcuts

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