model

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Name string `json:"name,omitempty"`
	Desc string `json:"desc,omitempty"`
	// UpdatedAt is the unix time of the last time when the catalog is updated.
	UpdatedAt int64 `json:"updated_at,omitempty"`
	// Type of the Catalog, such as "github" for a github repo.
	Type string `json:"type,omitempty"`
	// URL of the Catalog.
	URL string `json:"url,omitempty"`
	// Auth token used to sync Catalog.
	Token string `json:"token,omitempty"`
}

Catalog defines the data model of a Catalog

Jump to

Keyboard shortcuts

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