types

package
v0.2.13-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 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"`
}

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