model

package
v0.0.0-...-278bb9c Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package model stores miscellaneous database entries

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubLogin

type GitHubLogin struct {
	Login             string
	ID                int
	NodeID            string
	AvatarURI         string
	GravatarID        string
	URI               string
	HTMLURI           string
	FollowersURI      string
	FollowingURI      string
	GistsURI          string
	StarredURI        string
	SubscriptionsURI  string
	OrganizationsURI  string
	ReposURI          string
	ReceivedEventsURI string
	Type              string
	SiteAdmin         bool
	Name              string
	Company           string
	Blog              string
	Location          string
	Email             string
	Hireable          bool
	Bio               string
	TwitterUsername   string
	PublicRepos       string
	PublicGists       string
	Followers         int
	Following         int
	CreatedAt         string
	UpdatedAt         string
}

GitHubLogin represent the JSON structure sent by the GitHub user API

type ImageSetupMessage

type ImageSetupMessage struct {
	UUID    string
	Version uint64
	Update  bool
}

ImageSetupMessage is a stripped down version of the ImageSetup model which can be used as a JSON response

Directories

Path Synopsis
Package images defines the models representing different image types
Package images defines the models representing different image types
Package machine declares the entities related to the machines stored in the database
Package machine declares the entities related to the machines stored in the database
Package user defines the database entities for usersb
Package user defines the database entities for usersb

Jump to

Keyboard shortcuts

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