rest

package
v0.0.0-...-870ec01 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RestV2

func RestV2(app fiber.Router) fiber.Router

Types

type Platform

type Platform struct {
	ID         string             `mapstructure:"id" json:"id"`
	VersionTag string             `mapstructure:"version_tag" json:"version_tag"`
	New        bool               `mapstructure:"new" json:"new"`
	URL        string             `mapstructure:"url" json:"url"`
	Variants   *[]PlatformVariant `mapstructure:"variants" json:"variants"`
}

type PlatformVariant

type PlatformVariant struct {
	Name        string `json:"name" mapstructure:"name"`
	ID          string `json:"id" mapstructure:"id"`
	Author      string `json:"author" mapstructure:"author"`
	Version     string `json:"version" mapstructure:"version"`
	Description string `json:"description" mapstructure:"description"`
	URL         string `json:"url" mapstructure:"url"`
}

type PlatformsResult

type PlatformsResult struct {
	Platforms []*Platform `json:"platforms"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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