types

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Token string `json:"token"`
}

type Extra added in v0.0.71

type Extra struct {
	NotifyUpgradeTime time.Time `json:"notify"`
}

type LetConfig

type LetConfig struct {
	Name string            `json:"name,omitempty"`
	Type string            `json:"type,omitempty"`
	Env  map[string]string `json:"env,omitempty"`

	// static dir
	Static   string `json:"static,omitempty"`
	Redirect []struct {
		Source      string `json:"source,omitempty"`
		Destination string `json:"destination,omitempty"`
		Type        int    `json:"type,omitempty"`
	} `json:"redirects,omitempty"`
	Rewrite []struct {
		Source      string `json:"source,omitempty"`
		Destination string `json:"destination,omitempty"`
	} `json:"rewrites,omitempty"`
	Link []string `json:"link,omitempty"`
	CN   *bool    `json:"cn,omitempty"`
	Web3 *bool    `json:"web3,omitempty"`
}

type PackageDotJson added in v0.0.31

type PackageDotJson struct {
	Name            string            `json:"name"`
	Version         string            `json:"version"`
	Private         bool              `json:"private"`
	Scripts         map[string]string `json:"scripts"`
	Dependencies    map[string]string `json:"dependencies"`
	DevDependencies map[string]string `json:"devDependencies"`
}

type Project

type Project struct {
	ID   string `json:"id"`
	Name string `json:"name"`

	// local dir
	Dir string `json:"dir"`

	Type         string `json:"type"`
	ServeCommand string `json:"serve_command"`
}

type ProjectsInfo

type ProjectsInfo map[string]Project

project-name: info

Jump to

Keyboard shortcuts

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