types

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultHost = "0.0.0.0"

DefaultHost default host IP

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name     string              `json:"name"`
	Language string              `json:"language"`
	Files    []ProjectSourceFile `json:"files"`
}

Project a project

type ProjectSourceFile

type ProjectSourceFile struct {
	Path      string `json:"path"`
	Body      string `json:"body"`
	IsHandler bool   `json:"is_handler"`
}

ProjectSourceFile a source code file of a project

type Service

type Service struct {
	ID    string `json:"id"`
	Host  string `json:"host"`
	Port  int    `json:"port"`
	State string `json:"state"`
	Name  string `json:"name"`
	Image string `json:"image"`
}

Service instance of a service

type ServiceFunctionSource

type ServiceFunctionSource struct {
	Language string `json:"language"`
	Source   string `json:"source"`
}

ServiceFunctionSource source of service's function

type ServiceRunOptions

type ServiceRunOptions struct {
	Image string
	Port  int64
}

ServiceRunOptions a service to start options

Jump to

Keyboard shortcuts

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