Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(port string)
StartServer is responsible for setting up and lunching a simple web-server on the specified port
Types ¶
type CreateSceneRequest ¶
type CreateSceneRequest struct {
SceneName string `json:"scene_name"`
OutputFormats []string `json:"output_formats"`
SceneType string `json:"scene_type"`
}
CreateSceneRequest reflects structure of data received from client for creating a PhotoScene
type ForgeServices ¶
ForgeServices holds all references necessary to access Forge services
type FrontendReport ¶
type FrontendReport struct {
Result string `json:"result"`
Description string `json:"description"`
}
FrontendReport is used to prepare a JSON response to frontend
type ImageSendContent ¶
ImageSendContent reflects the structure of data associated to each remote located image that has to be send to Photoscene
type ImageSendRequest ¶
type ImageSendRequest struct {
SceneID string `json:"scene_id"`
ImageList []ImageSendContent `json:"image_list"`
}
ImageSendRequest reflects structure of data received from client sending remote located files to PhotoScene
type ResultRequest ¶
ResultRequest reflects the request for the specified format associated to given scene id
type SceneIDContent ¶
type SceneIDContent struct {
SceneID string `json:"scene_id"`
}
SceneIDContent is useful when the body request from client contains a reference to scene id in that scope