types

package
v0.0.24-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 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 Credentials

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

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:"redirect,omitempty"`
	Rewrite []struct {
		Source      string `json:"source,omitempty"`
		Destination string `json:"destination,omitempty"`
		Type        int    `json:"type,omitempty"`
	} `json:"rewrite,omitempty"`
	Link []string `json:"link,omitempty"`
}

type Project

type Project struct {
	Name string `json:"name"`
	Dir  string `json:"dir"`
	Type string `json:"type"`
}

type ProjectsInfo

type ProjectsInfo map[string]Project

Jump to

Keyboard shortcuts

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