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 ¶
ServiceRunOptions a service to start options
Click to show internal directories.
Click to hide internal directories.